Skip to Content

Fuzzy Search for alphanumeric content

Hi Experts,

I have implemented fuzzy search in HANA on the material short and long description texts. There is a scenario where if we search alphanumeric content it splits the entered search text and then searches individually for those.

Eg: I search for 25MM but it fetches 25 separately and MM separately instead of searching for 25MM as a single word.

Please suggest how can I resolve this issue.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Oct 15, 2015 at 07:13 PM

    Hello Sakshi,

    do you do a phrase search using double quotes? Check the help here - paragraph "Reserved Words and Special Characters in the Search String": The CONTAINS() Predicate - SAP HANA Fuzzy Search Reference - SAP Library

    Best Regards,


    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2015 at 07:38 AM

    Hi Sakshi,

    Try using different variants of similar calculation mode

    eg: CONTAINS(column_name, 'search_string', FUZZY(0.8,'similarCalculationMode=compare'))

    other modes are similarCalculationMode=search, similarCalculationMode=substringsearch to achieve results based on your use case.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.