Elasticsearch IndicesQuery

1 · Nelson Elhage · April 27, 2017, 4:01 p.m.
Elasticsearch is a distributed search engine. One can store “documents” within “indices”, which are collections of documents. One common pattern for storing time based data is to use one index per day. E.g.: tweets-2017-01-01, tweets-2017-02-01 and so on. This makes having many indices decently common, and it also makes searching across many indices common in a single search. Elasticsearch has a query type called IndicesQuery, which lets you (among other things) optimise your query path by knowi...