Table of content
Elasticsearch is a powerful search engine written in Java. Plugins make elasticsearch even more powerful. Two of the most common plugins are
Kopf (https://github.com/lmenezes/elasticsearch-kopf): Administration tool written with AngularJS.
Elastic HQ (https://github.com/royrusso/elasticsearch-HQ): Management and monitoring.
However, sometimes it is not easy to find the right place to start. With the Mac/Brew installation, the libexec folder is what you are looking for. Here is the shortcut, simply go to your console and enter:
sudo /usr/local/Cellar/elasticsearch/2.1.1/libexec/bin/plugin install GIT_REPOOf course your elasticsearch version can be different and you have to replace GIT_REPO with an actual Git repository (e.g. sudo plugin install lmenezes/elasticsearch-kopf/master). You can verify the plugin installation (don’t forget to restart!) under http://localhost:9200/_plugin/kopf or http://localhost:9200/_plugin/hq.
I use a Mac, so maybe your paths are different. If you are not sure where elasticsearch lives on your system, go to your browser and enter http://localhost:9200/_nodes?pretty=true&settings=true. This will print out an extensive list of details of your running installation.
Related articles
Dev Bit: Auto generate UUID with Postgres and Rails 4
Learn how to auto-generate UUIDs with PostgreSQL and Rails 4 using the uuid-ossp extension and database-level defaults.
Dev Bit: How to reuse matched value of regex in JavaScript's replace() function
JavaScript's replace() function has special $ references that can be used with regular expressions to replace (sub)strings. In this article, we provide a detailed overview of how it works.
Dev Bit: SQL word count & character count with Postgres
LingoHub uses Postgres and Elasticsearch to manage its extensive collection of text data. If you're wondering whether there's a way to conduct an SQL word count for translations, the answer is yes. In this article, we'll provide you with two SQL queries that can be used to determine the character and word count of a text column.