Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 5115

How do I stem the words of the text before performing a fuzzy search in SAP HANA?

$
0
0

Hello everyone,

 

Suppose I have a table with 2 fields, ID and TEXT. If I want to do a fuzzy search for the word "market", for example, for a table that has values as below, I want the output to be

 

marketting

marketing

marketable

marketability

market

markit

 

(even an output without marketting is perfectly alright).

IDTEXT
1

running

2run
3

ran

4raining
5playing
6marketting
7marketing
8marketable
9marketability
10market
11markit

 

At present, I am using the following query, and am getting only market and markit as output:

 

SELECT * FROM "TEMP"

WHERE CONTAINS ("TEXT", 'market', FUZZY (0.8));

 

Could you please tell me how I would go about stemming before fuzzy searching in SAP HANA?


Viewing all articles
Browse latest Browse all 5115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>