5 minute read ·  by Rob Sears

Efficient sorting of geo distances in Elasticsearch

Elasticsearch is much more than just a search engine: it's also a powerful analytics tool. One of the awesome things that Elasticsearch provides out of the box is the ability to calculate the distance between geographic points, and order the results by proximity. A common use case for this is an application where a user wants to see search results that are near a given point.
Continue reading…
4 minute read ·  by Rob Sears

Elasticsearch and the IllegalArgumentException (docID must be >= 0)

We sometimes get support tickets from users asking about this error message. They report that some queries, like hotdog, work just fine while others, like hamburger, return an error like IllegalArgumentException[docID must be >= 0 and < maxDoc=... (got docID=2147483647)]. They're confused because it seems to happen randomly and without an underlying cause. They ask: if the index is broken, why do some queries work? If the index is operating normally, why do some queries fail?
Continue reading…
1 minute read · 

March 2015 Uptime: 99.991%

This month, some Bonsai customers were impacted by networking problems in AWS' Oregon region. Our services were not impacted internally, however customers in our Oregon region had issues resolving hostnames and connecting to their clusters. There was also a period of scheduled maintenance in upgrading all customers from Elasticsearch 1.3 to 1.4, which went smoothly for the most part. There have been some unexpected growing pains with 1.4, but we have more or less worked out the kinks.
Continue reading…
1 minute read · 

February 2015 Uptime: 100.000%

There was a period of scheduled downtime in February, due to a serious vulnerability in Elasticsearch, as well as some scheduled maintenance in rebalancing load across the system. Otherwise, it was a smooth month, and Bonsai is reporting 100% uptime.
Continue reading…
1 minute read · 

January 2015 Uptime: 99.999%

We kicked the year off with an uptime in January of more than 99.999%! Over the past month, we have seen a handful of 503 errors, which we are expecting to dissipate when we roll out Elasticsearch 1.4 to all regions. Stay tuned!
Continue reading…
1 minute read · 

December 2014 Uptime: 99.999%

Our uptime in December was greater than 99.999% after accounting for a very slight increase of 503 errors for the month on a very small number of tenants. We expect an upcoming rollout of Elasticsearch 1.4 will help us eliminate these errors, and until then we are capping our uptime at five nines for the month.
Continue reading…