cancel
Showing results for 
Search instead for 
Did you mean: 

Impex for SOLRSORTFIELD SORTPOS attribute

srinivasulu_mula
Participant
0 Kudos

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.

srinivasulu_mula
Participant
0 Kudos

How to do the changes through Impex?

Accepted Solutions (0)

Answers (0)