Posts tagged "elasticsearch"

A nice intro video on ElasticSearch from Air Mozilla. It is ~56min.

—Jason

Great write-up on the Elasticsearch course.

  1. Stop using Query_String
  2. Prefer the Bool filter over And/Or/Not filters (usually)
  3. ElasticSearch + SSD = match made in heaven
  4. Design filters that are cacheable
  5. Scale out, not up

—Jason

image



I learned a lesson today while developing a new plugin (a River plugin) for ElasticSearch. It seems that when loading/running plugins ES catches any uncaught exceptions AND doesn’t log them. This made it really hard to debug an issue I had where I didn’t have the right JARs included in the plugin assembly. Here is an example assembly.xml file.

The problem would only manifest itself when I started reading data from a remote service. Inserting lots of log statements helped me identifiy where the code was silently failing, and then I used Eclipse’s remote debugging tool to see what the issues were. It turned out to be ClassNotFound exceptions.

If I get approval I will give more specifics on what the River does and possibly open source it on GH.

—Jason

Short howto on using jmxtrans with Ganglia for monitoring ElasticSearch and SolrCloud.

As the comments point out, similar metrics/stats can be pulled from the ES REST API, but this is a nonetheless useful howto.

—Jason