Lav
Lav

Reputation: 1047

how indexes are stored in elasticsearch

I had certain question regarding elasticsearch but unable to find appropriate answer:

How indexes are stored in Elasticsearch. At which folder location they are stored.

Is it possible to store at different location.

What does this mean " localhost:9200/path1/path2 "

On which algorithm indexing is done in elasticsearch.

Upvotes: 9

Views: 14936

Answers (1)

akaIDIOT
akaIDIOT

Reputation: 9231

  • Indexes are stored on disk as configured in elasticsearch.yml with the configuration option path.data;
  • localhost on port 9200 is the default connection port for the HTTP REST interface, the path of the url generally defines an action to be taken (like searching for documents);
  • What exactly do you mean with the algorithm? Elasticsearch is a search engine, it uses Lucene to read documents and index their properties to enable search.

To be fair, all of this is available in the documentation for elasticsearch.

Upvotes: 13

Related Questions