on ‎2019 Jul 25 1:47 PM
Hi Experts, I am implementing solr search in a B2B website where we are searching on product names that contain whitespaces between them, like Hot Rolled Sheet, Metallic coated sheet etc. But the problem is, whenever we search with this whole term "Hot Rolled Sheet", it is not fetching any results since Solr is not able to work on the whitespaces in this term. Can anyone please help on this, as to how to make solr search on whitespace contained phrases.
Thanks & Regards, Suranja
Request clarification before answering.
Enable the Phrase Search on the product name indexed property ,it will enable the whole phrase search.Let us know if it worked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
product name is indexed property type as text_en. Have tried with string as well, but it is not working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Did you tried searching product name on solr dashboard using query field: [q] : name_string:Hot Rolled Sheet and see if you gets result on dashboard, so you can be confirmed whether issue is with solr or with response. If you able to get result on solr on dashboard then do check whether you getting proper result in result populator.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.