Page 1 of 1

Adding Mulivalued Field on search Facet

Posted: Mon Jan 05, 2015 10:49 pm
by nanix84
Hello and good day,

Is it possible to have a product with multiple search facet values assigned at once? If so how? I thought this would be handled by the "String (Multi)" Facet Field Type:

Code: Select all

<dynamicField name="*_ss" type="string" indexed="true" stored="false" multiValued="true" />


but it doesn't seem to pick up more than one value per product.

Here is an example of what I would like to set up:

Search facet: Demographic
Values: Men, Women, Children

I have added a record on BLC_FIELD with a property name pointing to an ArrayList of Strings. And I have also indexed them by modifying the SolrIndexService buildDocument. The field is something like this for one document:
demographic_ss: [Men, Children]

Product A associated to both the Men and Children values.

When Its reaching the category page to display the facet, The facet fields being pulled for demographic is null
Is there any way to do this?

Thanks

Re: Adding Mulivalued Field on search Facet

Posted: Wed Jan 07, 2015 1:37 am
by phillipuniverse
What version of Broadleaf are you using?

Re: Adding Mulivalued Field on search Facet

Posted: Sat Apr 11, 2015 5:32 am
by abdullahzaid
In the previous blog post about auto complete on multi-valued field we discussed ... Because of that we will add the copyField definition to the ... When using faceting our query should look more or less like the following one: