TermsFacet - Separate Facets by Referance to the Indexfield?

Hi!

I would like to use the termsFacet for a search over two indexfields: User
and Category for example.

The facets should be separated displayed in reference to the indexfields.
Is that possible or have i
to add 2 facets to the searchrequest?

Thanks!

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Sandra,
you can make a facet on multiple fields, but then all the values coming
from those multiple fields would be merged into a single facet, thus it's
not possible to display them separately, if that's what you were asking.

I think in your case two different facets should work fine.

Cheers
Luca

On Thursday, August 1, 2013 11:15:45 AM UTC+2, Sandra wrote:

Hi!

I would like to use the termsFacet for a search over two indexfields: User
and Category for example.

The facets should be separated displayed in reference to the indexfields.
Is that possible or have i
to add 2 facets to the searchrequest?

Thanks!

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.