How to add Hybris Solr By for Boolean value
问题 I have a Solr indexed property called isNewProduct (boolean) and I want to create a new Solr By option for this attribute. (the products with isNewProduct==true must appear first). Any hint about how can I achieve this ? 回答1: All you have to do is run below Impex (change it with your actual values) and you are done. $lang=en $solrIndexedType=YourProductType INSERT_UPDATE SolrSort ; indexedType(identifier)[unique=true] ; code[unique=true] ; name[lang=$lang] ; useBoost ; $solrIndexedType ;