I'd like to add a facet to an existing query that gives me the value of a
specific field in the most recent (as determined by a specified timestamp
field) document.
...and the query tag:bar, I want to have the latest value of the score
field (i.e. 300) included in the result (regardless of how I'm sorting and
paging).
Is this possible, or would this require a custom facet? Speaking of which:
What's the status of the facet API?
It should still be possible to accomplish this with a custom facet in
Elasticsearch, right? Doesn't seem more involved than the "date
histogram with value field" facet...
On Wednesday, September 26, 2012 10:25:47 AM UTC+2, Eric Jain wrote:
I'd like to add a facet to an existing query that gives me the value of a
specific field in the most recent (as determined by a specified timestamp
field) document.
...and the query tag:bar, I want to have the latest value of the score
field (i.e. 300) included in the result (regardless of how I'm sorting and
paging).
Is this possible, or would this require a custom facet? Speaking of which:
What's the status of the facet API?
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.