Facet Filter used by Kibana

https://gist.github.com/telvis07/9090254 - Is a query sent by kibana when I
typed a search entry. It uses a fquery as the facet_filter.
https://gist.github.com/telvis07/9090254 - This a query I'm using in my app
that uses a QueryFilter as the facet_filter.

What is the advantage of using an fquery as a facet_filter in the way that
Kibana does with a BoolFilter and BoolQuery? Does it perform better than my
query that uses a FilteredQuery as the facet_filter?

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d11ac49e-fbf6-4b03-b7b9-24a034a853e3%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Sorry. fixed the links.

kibana-filtered-query.json · GitHub -
Is a query sent by kibana when I typed a search entry. It uses a fquery as
the facet_filter.
kibana-filtered-query.json · GitHub - This a query
I'm using in my app that uses a QueryFilter as the facet_filter.

On Wednesday, February 19, 2014 6:40:00 AM UTC-5, Telvis Calhoun Jr. wrote:

kibana-filtered-query.json · GitHub - Is a query sent by kibana when
I typed a search entry. It uses a fquery as the facet_filter.
kibana-filtered-query.json · GitHub - This a query I'm using in my
app that uses a QueryFilter as the facet_filter.

What is the advantage of using an fquery as a facet_filter in the way that
Kibana does with a BoolFilter and BoolQuery? Does it perform better than my
query that uses a FilteredQuery as the facet_filter?

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d42b28da-f8dc-48de-a4bb-dd6e27f6c493%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

The fquery is just a syntactic extension of the query filter in case you
need to define extra parameters (fquery and query filters are the same
execution-wise). See details here:

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-query-filter.html

The difference between a standard query and a filtered query is that the
filtered query allows you to define a filter which can likely be faster to
execute than just a standard query.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/984731fa-8d3f-438c-817b-922581bb9550%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.