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)?