Hello together,
i have the following use case:
- Let's say i have 1000 Documents in my index.
- I want to sort them by date
- And just have every n-th document (modulo) in my response
Is this somehow possible? I thried to implement a native plugin, with a as
a script filter in the post filter but i could not figure out, how to
access the position in the resultset.
Any other ideads?
--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f74704f9-7e12-4c8f-a743-71d574b3196c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.