This sounds perhaps as a non-ES use case, but I would like to have a single
document which has a certain flag boost to the top of the results.
I have ~10% of the documents with a flag. All documents (disregarding the
flag) are sorted on _timestamp. All fields have a _boost by default of 1.0.
No
Thanks for the response :)
I was now testing it out with the _timestamp field which I need to set
manually for each item, but copy_to seems even better. Thanks for the
insights!
--
Jurian
On Thursday, June 12, 2014 5:28:49 PM UTC+2, Jörg Prante wrote:
>
> If you have two (or more) date fields t
In Elasticsearch I'd like to index items of multiple types. Examples are "blog
posts" and "deals". All types in the index should be sorted according to their
publish date, with a single exception: deals are valid in a certain time span.
The sorting of deals within the complete list should NOT