Category Archives: Elasticsearch

Elasticsearch 5 Determining if nested field exists

Consider an index with documents such as these, where the team location may or may not be populated: { “status” : “active”, “name” : “Jimmy Chitwood”, “team” : { “name” : “Hickory Huskers”, “location” : “Hickory, Indiana” } } Note … Continue reading

Posted in Elasticsearch | Tagged | Leave a comment

Elasticsearch deprecation warning: [deprecation.search.aggregations.bucket.terms] sorting by ascending count is deprecated and will be removed in the next major version

I am currently attempting to upgrade from Elasticsearch 2.4.1 to Elasticsearch 5. ¬†While running ES 2.4.1 I turned on deprecation logging and executed the following search ¬†(which was generated by my application): GET publicaccess/cases/_search { “from” : 0, “size” : … Continue reading

Posted in Elasticsearch | Tagged | 1 Comment