Use doc_count in query syntax?


(abhiage) #1

Can I use doc_count of facet/aggregation query in other query syntax?
I want perform some conditions on doc_count. Based on output of conditions
result will be displayed.

--
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/ee7725a5-7eb2-47b5-93a3-88e3e1f820d3%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Alexander Reelsen) #2

Hey,

this sounds more like a client side issue, than it makes sense to do on the
elasticsearch side. Maybe you can elaborate a bit, what you actually want
to do.

The doc_count itself is just a field and cannot be used to display or hide
information being returned in a query (if thats what you want to do).

--Alex

On Thu, Jan 9, 2014 at 1:35 PM, abhi patel abhiage@gmail.com wrote:

Can I use doc_count of facet/aggregation query in other query syntax?
I want perform some conditions on doc_count. Based on output of conditions
result will be displayed.

--
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/ee7725a5-7eb2-47b5-93a3-88e3e1f820d3%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--
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/CAGCwEM82siLecrOMaFOCSTBZf4M7_VZKuOBCrrwcQ_GMz6jPuQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3