on 07-24-2017 1:00 PM
Hi All,
I am trying to create impex for SORTPOS attribute in SOLRSORTFIELD type but it is not reflecting the position of sortfields in HMC,Please let me know whats wrong with the below impex. I know we can change the position from HMC but how to do the changes through HMC?
$solrIndexedType=electronicsProductType
INSERT_UPDATE SolrSortField;sort(indexedType(identifier),code)[unique=true];fieldName[unique=true];ascending[unique=true];sortPOS ;$solrIndexedType:name-asc;name;true;1 ;$solrIndexedType:relevance;score;false;2 ;$solrIndexedType:name-desc;name;false;3 ;$solrIndexedType:price-asc;priceValue;true;4 ;$solrIndexedType:price-desc;priceValue;false;5
And also not sure what values need to pass in the SORTPOS field (0-4 or 1-5) .
Thanks.
User | Count |
---|---|
3 | |
2 | |
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.