CottageLabs / facetview2

a pure javascript frontend for ElasticSearch search indices.
MIT License
78 stars 31 forks source link

Facets not displayed or wrong separated #10

Closed djmj closed 9 years ago

djmj commented 9 years ago

Having following json data in elasticsearch:

"priceRange" : "$20.00 - $40.00",
"roomFacilities": ["Pay TV", "Terasse / Veranda"]

Datatypes are string or string arrays.

It displays two values "$20.00" and "$40.00" instead of its original value "$20.00 - $40.00". Instead of "Pay TV" it shows two facets "Pay" and "TV".

How to display them "as is"?

djmj commented 9 years ago

Can be rejected. Used wrong analyzer on fields.