Introduction

suggest change

ElasticSearch has a well-documented JSON API, but you’ll probably want to use some libraries that handle that for you:

Let’s use the first option for testing the connection:

gem install elasticsearch

Then fire up the ruby terminal and try it out:

require 'elasticsearch'

client = Elasticsearch::Client.new log: true
# by default it connects to http://localhost:9200

client.transport.reload_connections!
client.cluster.health

client.search q: 'test'

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Elasticsearch:
*Introduction

Table Of Contents
42Elasticsearch
55CSV