Developer forum

Forum » Ecommerce - Standard features » Facets split values into single words

Facets split values into single words

Karol Barkowski


I have configured a set of fields on product categories and I set values for those fields for products in each category. Those are then used to create facets on the UI. Pretty standart stuff.
But as in example shown on screenshot, if I have a value that contains more than a single word, then it is later split into individual words that later on show up as separate options on the UI.
Why is this happening?
I already tried to play around with custom field types and setting different lucene analyzers. I liteally tried each and every one of them but couldn't get a proper behavior.
I also compared my setup with the default swift bikes shop and I cannot see any differences between the two. But in there this is not happening.
Any clues anyone?


Adrian Ursu Dynamicweb Employee
Adrian Ursu

Hi Karol,

That's because the values are Analyzed.

If you create new fields to be used for facets, you have to avoid setting the "Analyzed" to true.

If you are using standard fields, a good idea would be to set DoNotAnalyzeDefaultFields to True. It defaults to False.

YOu can do that by clicking on each Build you have set up in your index and changing the value. Or you can directly edit the XML file with the index definition.

I hope it helps,



Karol Barkowski

Hi Adrian ;)

Nope. None of those fields are set as "Analyzed".  

Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen

Hi Karol

Did you get this solved? I agree with Adrian that the field you have applied the facet on is analyzed and that causes the phrase of that field to be split into terms.

See more about setting up facets here:

BR Nicolai


You must be logged in to post in the forum