For those coming from traditional SQL databases, or nosql databases, some of the terminology used by Elasticsearch may take some getting used to.

Connecting to Elasticsearch can be done by connecting to the machine with Elasticsearch installed through localhost (127.0.0.1). The default port is: 9200, and access is granted full to everyone. Access is denied by default to remote hosts however.

it’s easy to access Elasticsearch either using the web browser running queries such as:

http://localhost:9200/index-name/example-type/_search

Instead you can use curl on the command line, this is much more convenient in a typical situation when you’re running Elasticsearch on a remote server and accessing through ssh.

curl -XPOST “http://localhost:9200/index-name/example-type/_search”

News Reporter
Hi there. I'm part of the staff here at onkea eLearning company working hard to create some tutorials and answer your support questions.

Leave a Reply

Your email address will not be published. Required fields are marked *