Tag Archives: 0.90

ElasticSearch 0.90 – Search Shards API

Send to Kindle

searchElasticSearch is designed to work with indices that are built of multiple shards and replicas and you probably have such indices in your cluster. Sometimes it may be handy to see which shard will the query be exectued at. Before ElasticSearch 0.90 you could run a query and check the stats to see that, but now we can use the Search Shards API. Let’s look on how we can use this API by using a simple example and queries that does and doesn’t use routing.

Continue reading

Tagged , , ,

ElasticSearch 0.90 – Sorting Inside Nested Objects

Send to Kindle

nestedIn addition to the ability to control what value is taken into consideration when sorting on multi-valued fields, ElasticSearch 0.90.0.Beta1 introduced another sorting improvement – ability to sort on the basis of the fields inside the nested objects. We can chose a path, a filter that will narrow the nested objects, and like in the sort_mode property (just like in the post describing multi-valued fields sorting).

Continue reading

Tagged , , ,