cancel
Showing results for 
Search instead for 
Did you mean: 

SOLR "sort by" not working properly in product listing page?

Former Member
0 Kudos

I have configured the following in solr.impex on the "savings" attribute(dynamic) of my product: INSERT_UPDATE SolrIndexedProperty;solrIndexedType(identifier)[unique=true];name[unique=true];type(code);sortableType(code);currency[default=false];localized[default=false];multiValue[default=false];useForSpellchecking[default=false];useForAutocomplete[default=false];fieldValueProvider;valueProviderParameter

;$solrIndexedType; savings ;double ; ; ;true; ; ; ; ;

INSERT_UPDATE SolrSort;&sortRefID;indexedType(identifier)[unique=true];code[unique=true];useBoost;name[lang=en]

;sortRef3;$solrIndexedType;savings-desc;false;Savings

INSERT_UPDATE SolrSortField;sort(indexedType(identifier),code)[unique=true];fieldName[unique=true];ascending

;$solrIndexedType:savings-desc;savings;false ;$solrIndexedType:savings-desc;shelfStartDate;false ;$solrIndexedType:savings-desc;velocity;true

tylermac
Product and Topic Expert
Product and Topic Expert
0 Kudos
  1. Can you confirm that the savings field is actually populated in solr (localhost:8983/solr)

  2. In hac->Platform->Logging if you set DefaultFacetSearchService to DEBUG and execute a query what do your logs show for the solr query being executed?

Accepted Solutions (0)

Answers (0)