Faceted Navigation, as can be seen in *LinkedIn *and *Booking.com*,
include the fundamental characteristic that the value-count of each faceted
field is constrained by the query (set of matched documents), *excluding *any
constraint on the given field itself.
For example, in LinkedIn, If the "locations" facet is currently
filtered with "Canada" (the "Canada" check-box is selected), the facet will
still include counts for the other locations.
It seems that Elasticsearch lacks the feature to count the terms in the
set of matched documents, AS IF the faceted field itself was not a part of
the query. Am I correct?
And thus, if I have *n* faceted fields in my faceted navigation, each
clicked checkbox involves executing n separate queries - one to modify
the actual result set, and n-1 to rebuild the other facets (each one with
a query which excludes its field).
Did I get this right? any better ways to do this?
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 email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/89ecc3ed-2d58-4253-b0d1-a7d12495c89d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.