Page 1 of 1

Adding new Search Facet

Posted: Wed Nov 26, 2014 9:18 am
by benhenda89
Hello ,
How to add a new Search Facet other than :

manufacturer
productAttributes.heatRange
defaultSku.retailPrice
productAttributes.color

Re: Adding new Search Facet

Posted: Tue Dec 02, 2014 8:07 pm
by phillipuniverse
1. Make a new entry in BLC_FIELD where the FACET_FIELD_TYPE parameter is the same as one of the endings in your solr schema.xml (for a listing of what these types actually mean see https://github.com/BroadleafCommerce/Br ... dType.java
2. Make an entry in BLC_SEARCH_FACET that links to the field that you created in step 1
3. Optionally restrict that search facet for a category by making an entry in BLC_CAT_SEARCH_FACET_XREF