Anuraj
Anuraj

Reputation: 2763

Is there any differences between index and indices in Elasticsearch?

Index in Elasticsearch is similar to Database. So what indices point to. Is it same?

Upvotes: 5

Views: 5975

Answers (2)

swcraft
swcraft

Reputation: 1

Index represents Database (like customer DB) and indices represents table id (like Address table id in Customer DB) - (i.e)

Index is a collection of documents and indices is a document id. In Elastic Search,to search one document, we will use index id or indices id & name .

Upvotes: -9

Anuraj
Anuraj

Reputation: 2763

indices are the plural form of index. In case of more than One index, we call it indices (indexes can also be used)

Upvotes: 12

Related Questions