Searching numeric keyword in text string

Hi,

Am trying to search on numeric or special character on text string, but its not able to search.

I have created tokenizer something like below, when i analyze tokens i can see numeric or special character tokens as well. But search on working on it:

Example my string - "Hi this is some test message to test number 50KG of something."
So if i search 50KG it dont works.

"tokenizer": {
"product_ngram_tokenizer": {
"type": "ngram",
"min_gram": 3,
"max_gram": 20,
"token_chars": []
}
}

Can you please help what could be the issue.

Can you please show what query you are running?

Also, please format your code using </> icon as explained in this guide. It helps make the json more readable.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.