Symptom
If there is some special characters like asterisks "*" included in search term in "contains ()" clause, you might get unexpected result.
For example :
select mandt, spras,maktg,score() as score
FROM test_makt
WHERE mandt = '300'
AND SPRAS = '1'
AND contains( maktg ,'mytest 9*9*', fuzzy(0) )
ORDER BY score desc;
You expected there should be some data rows in the result set, but the returned result set is actually empty.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
- SAP HANA, platform edition 1.0
- SAP HANA, platform edition 2.0
Product
Keywords
Asterisk '*', searchMode=alphanum, Fuzzy Search Option for Asterisk, Search Term, Alphanumeric Search, Search Mode 'alphanum' and Wildcards, Search Mode "alphanum", alphanum , KBA , HAN-DB , SAP HANA Database , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview