In the past few articles, we have focused on indexing and searching parent-child relationships in elasticsearch. The parent-child functionality allows us to associate one document type with another, in a one-to-many relationship, or one parent to many children. In this tutorial, we continue with parent-child aggregations in elasticsearch.

Keep reading

A nested type is a specialized version of the object datatype that allows arrays of objects to be indexed and queried independently of each other. If you need to index arrays of objects and to maintain the independence of each object in the array, you should use the nested datatype instead of the object datatype. Internally, nested objects index each object in the array as a separate hidden document, meaning that each nested object can be queried independently of the others, with the nested query.

Keep reading

We have seen numerous pipeline aggregations in previous posts. Here we discuss another pipeline aggregation called the moving average aggregation and its significance, as well as its application in real-life scenarios.

Keep reading

In this last installment of the pipeline aggregation blog series, we introduce the remaining class of aggregations, which includes the stats, extended stats, and the percentile aggregations. These aggregations are used to get a range of statistics like the average, percentiles, mean square values, and more for the data we have.

Keep reading

In previous installments of the pipeline aggregation blog series, we discussed ready-made aggregations which are ready to be used with the query. In this post, we explore pipeline aggregations which make use of scripts for its operations, and thus provides flexibility for the user to handle the field data.

Keep reading

Elasticsearch continues to evolve. The big news recently is that release 2.0 is around the corner. Pipeline aggregations is perhaps the most interesting feature set that will be available in this upcoming release. This will be an extension of the existing ES aggregations framework, and it will provide for a number of computation types that users can perform on top of the standard aggregations results.

In this article, we give a brief overview of this ES feature extension, direct you to tutorials on aggregations, and provide links to more information.

Keep reading