Yes, the id is the unique key.

I think maybe this is because the first one (a parent doc(Parent1) without
any children) is not a block (I don't really know what's the term), so later
when we add same parent (Parent2) with some children, the first one is
somehow left alone.

- If we update the parent document again with some new child documents, it
will update Parent2 correctly, but still leave/keep Parent1.

This issue is talked in some jiras like
https://issues.apache.org/jira/browse/SOLR-6096.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/SolrJ-How-to-add-a-blocked-document-without-child-documents-tp4335006p4335441.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to