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 to sort on, look at "copy_to" > mapping feature to copy them over to a third field e.g. "sort_date". So you > have a single field you can happily to sort on, without having to change > fields in the source. > > Same method works for tag/category fields in different indexes that are > meant for facets that can span more than one index. > > Jörg > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/755c9765-581d-425c-8bde-86a463d9f5d8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
