Multiple documents with same doc-id in Index in Solr Cloud!
This article is dedicated to address the reasons of having multiple documents with same doc-id in the same index.
There are two known reasons for this particular anomaly:
1. Indexing parent-child documents alongside singleton documents in the same index.
2. Using MERGEINDEXES tool directly or indirectly (MapReduceIndexerTool)
Indexing parent-child documents alongside singleton documents in the same index
Lucene does not support nesting of documents by its model, flat object, while indexing. While it does support adding a list of documents atomically and contiguously, like a virtual block, and this is the feature used by Solr to implement "nested objects".
Read full article from Multiple documents with same doc-id in Index in Solr Cloud!
No comments:
Post a Comment