on 02-19-2018 6:01 AM
I have a hdbdd defined as below, but the fuzzy search i tried using this search query as doesn't works.
https://xxxxxxxx.xxx.xx.xxxxx.com/xxxxx.xsodata/LandValue?$format=json&search=singaporw
Only maps to full text. E.g. "singapore" instead of "singaporw" or "sing"
namespace xxx;
@Schema : 'XXX'
context fuzzysearch {
@Catalog.tableType : #COLUMN
entity ADDRESS {
key id : Integer;
street : String(80);
zipCode : Integer;
city : String(80);
@SearchIndex.text.enabled : true
@SearchIndex.fuzzy.enabled : true
country : String(80);
};
@Search.searchable: true
define view V_ADDRESS as select from ADDRESS as ADDRESS {
@EnterpriseSearch.key : true
ADDRESS.id,
@Search.defaultSearchElement: true
@Search.ranking: #HIGH
@Search.fuzzinessThreshold : 0.7
ADDRESS.country
};
};
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.