AbtPst
AbtPst

Reputation: 8018

Are Solr Collections and Cores analogous to Elasticserarch Indices and Types?

In Elasticsearch we have a concept of an Index that can have multiple types. This is roughly similar to the concept of databases and schemas. Now can a Solr collection be thought of as an Index/database and a Solr core be thought of as a type/schema?

Follow up

Does it make a difference if Solr is running in Cluster mode?

Upvotes: 3

Views: 616

Answers (1)

YoungHobbit
YoungHobbit

Reputation: 13402

The core in solr are analogous to the index in elastic search. An index is represented by core in solr, but when you get into the cloud solr (sharding, distributing documents), multiple cores can represent one logical index, which is called collection in solr. In the elastic search, it is called same index only.

Mapping types are a way to divide the documents in an index into logical groups.

Upvotes: 5

Related Questions