on 05-08-2023 6:14 PM
I have a problem with the score when doing the search, the search word is milka which has an enhancer of 100 in the description field, but when listing it brings me the first 2 results, the third gives me NIVEA BODY MILK 400 ML which has nothing from Milka and the following ones (4th, 5th, etc.) if you bring with the word milka, is there some kind of configuration or something you have to do about it. It should be noted that the first 5 have the same score. I will appreciate any help.
First result
Second result
Third result
fourth result
Debug Query:
You are querying Solr directly, so there is no fuzzy search applied yet, you're only applying a boost of 100.0 to the term milka.
However, check the debug output: line 1 is your query and line 3 "parsedquery" is the query parsed to Lucene. Your query term has been reduced to only "milk". I cannot tell why the term is parsed like that.
Maybe try with "milka" (in quotes) or even "*milka*".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much for the answer, in line 3 it is a parsing of solr itself, it seems to me that it is a native configuration, do you have any idea where I can continue testing.
I'm sorry, I had noticed similar problems (?) with the Lucene parser myself, but could not find details...
If you are investigating bad search results in SAP Commerce, have a look at the Free Text Query setting of the SolrIndexedProperty for "description".
Directly in Solr, try querying with quotes or wildcards:
description_text_pt:"milka"^100.0
description_text_pt:*milka*^100.0
User | Count |
---|---|
5 | |
1 | |
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.