cancel
Showing results for 
Search instead for 
Did you mean: 

Solr search - searching for a field with hyphen in it

pavan-yvs-1
Explorer
0 Kudos
293

When I search with 123-456 for a field, I get results for all the products that has 123- in it, and all the products that has -456 in it.

Note: The field is a text field, fuzziness is not enabled. I am escaping - with a \\

I would like to get only products like xx123-456xx along with the 123-456 (obv)

Please guide me on how to achieve this. Thanks.

Accepted Solutions (0)

Answers (0)