Thanks for the reply! Let me try to explain with an example:
When user search for car, I would like to show filters like:
The problem is I don't know the car brand, I just have the name and a
description. If I put a termFace on name or description, it can return
other therms that are not brands... like wheels or some other word that is
common for all cars... right?
What I want to do is, from a list of pre defined brands, know the number of
each on the search result...
Is a good aproach ti create a termFacet for each brand, with a filter on it
(to limit to the brand name)?
On Sat, Mar 3, 2012 at 12:25 PM, Radu Gheorghe firstname.lastname@example.org:
On Mar 2, 3:22 pm, Marco Aurélio Silva marc...@gmail.com wrote:
I would like to have some help on how to do some things with elastic
search. I have an index with a lot of products that came from some
(parsed by a web crawler). I would like to show to my user some filters,
he can refine his search. I tried to use termFacet on product name, but
is returning some terms that I don't want to show in the filter.
You can exclude terms that you don't want shown. See "Excluding terms"
Although I'm not sure this is what you want :-s
the best approach to do this? Is there a way to query how many know
have in a search result?
I'm not sure if it's just me, but I'm not sure what you're trying to
accomplish. Can you rephrase your questions? Maybe come up with an
Sorry if this doubt is too basic, I don't know where to ask this. Any
Thanks in advance