Skip to Content
0
Jul 01, 2021 at 06:58 PM

Solr Sorting with use boost enabled not working

534 Views

Here is the following configuration:

INSERT_UPDATE SolrSort;&sortRefID;indexedType(identifier)[unique=true];code[unique=true];useBoost
;sortRef1;$solrIndexedType;relevance;true
;sortRef3;$solrIndexedType;name-asc;true
;sortRef4;$solrIndexedType;name-desc;true
;sortRef5;$solrIndexedType;price-asc;true
;sortRef6;$solrIndexedType;price-desc;true

I have no Boost Rules defined for any products, in the system.

Nevertheless when I set for example the useBoost=true for price=asc or price-desc (and for other fields as well), the sorting does not work correctly; the products are not sorted by price at all, they are just randomly displayed.

Since no boost rules are available for any products, why doesn't sorting work correctly if the sort field has Use Boost set on true ?