How can I narrow it down to terms corresponding to posts with a
"status" of "published"? I tried providing a Filtered Query in the
request body, to no avail. I am doing it wrong (most probably) or is
it just not possible (yet)?
What you are talking about are facets (dynamic) ones. There is support for
query based facets that return a total count, but not automatically return a
count per term value based on a search request. This is a planned feature.
How can I narrow it down to terms corresponding to posts with a
"status" of "published"? I tried providing a Filtered Query in the
request body, to no avail. I am doing it wrong (most probably) or is
it just not possible (yet)?
What you are talking about are facets (dynamic) ones. There is support
for query based facets that return a total count, but not
automatically return a count per term value based on a search request.
This is a planned feature.
Hi,
I'm having a hard time figuring how I could retrieve the terms
belonging to a subset of the indexed documents.
For instance, given a call as such:
curl -XGET "http://localhost:9200/_terms?fields=posts.tags"
How can I narrow it down to terms corresponding to posts with a
"status" of "published"? I tried providing a Filtered Query in the
request body, to no avail. I am doing it wrong (most probably) or is
it just not possible (yet)?
Dominique Rose-Rosette
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.