Created
December 20, 2016 07:54
-
-
Save mykoweb/90bf9889338cbd1028dda60515861ab3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'json' | |
require 'elasticsearch' | |
client = Elasticsearch::Client.new hosts: 'http://localhost:9200' | |
# Test that Elasticsearch is up | |
client.info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment