Sample an index

For performance reasons, I'd like only a sample of matching documents of a large index. The Sampler Aggregation looks promising but I'm worried my use case does not quite fit. For example, I expect I'll need to scroll the results which could still be quite large. Maybe the plugin route is the way to go but I don't see any example query-time plugins. There such a way to accomplish this now? If not, does it sound possible to do via an elasticsearch plugin ( assume I'm a java & lucene guru :stuck_out_tongue: )? Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.