Hello Everybody,
i m not able to use the search notation in the url-call of the odata service.
anybody some expirience in creating a fuzzy search using odata on CDS-Views ?
CDS-View:
context searchDemoModel { // Tabelle mit volltext index @Catalog.tableType: #COLUMN Entity Artikel { key matnr: String(18); @SearchIndex.text : { enabled: true, async: true, textAnalysis : { mode: #EXTENDED, languageDetection: ['en'], configurationID : 'package::myconfig.hdbtextconfig' } } @SearchIndex.fuzzy: { enabled: true } maktx: String(40); }; @Search.searchable: true define view V_Artikel as select from Artikel as Artikel { @EnterpriseSearch.key : true Artikel.matnr, @Search.defaultSearchElement: true @Search.ranking: #HIGH @Search.fuzzinessThreshold : 0.8 Artikel.maktx }; };'
odata:
service { "MAXIMILIAN_JOHANNES"."playground.de_maxjoh.searchDemo::searchDemoModel.V_Artikel" as "Artikel" key("matnr") create forbidden update forbidden delete forbidden; }
Result:
any hints ?
best regards
Marc