on ‎2018 Jun 28 1:57 PM
I am a trying to searching for unavailable product like "T6665444", but still am getting the search results of diffrent products. Ideally it should give message saying "No results found for this "T6665444". Could you suggest what is issue?
Request clarification before answering.
Hi Gangadhar, it is really difficult to tell without looking at your solr configuration file. Solr return search results based on tokens which get created out of 'text' type fields.
for example, Hybris out of box solr configuration has product name and description as text fields. The difference between string fields and text fields is that solr creates tokens out of text fields and not string fields. Also solr autosuggestion internally works on solr spellchecker so it starts doing smart corrections on what you type.
for example if you have a product name as "black tommy hilfigher leather bag", solr creates the following tokens (black, tommy, hilfigher, leather and bag). So if you type 'lether' which is close to leather, solr will do a spellcheck for you and try to return leather as a suggestion.
What tokens get created can also be controlled by configuring the tokenizer.
Back to your question, you might be getting these results because some product names and/or descriptions may contains either 'T6665444' or a word similar to this and that is why you see those search results
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Saurab, thank a lot for the detailed explanation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 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.