Am 20.05.2014 14:11, schrieb Jack Krupansky:
To be clear, you cannot update a single document of a nested document
in place - you must reindex the whole block, parent and all children.
This is because this feature relies on the underlying Lucene block
join feature that requires that the documents be contiguous, and
updating a single child document would make it discontiguous with the
rest of the block of documents.
Just update the block by resending the entire block of documents.
For e previous discussion of this limitation:
http://lucene.472066.n3.nabble.com/block-join-and-atomic-updates-td4117178.html
This is totally clear to me and I want nested document to not be
accessible without it's root context.
There is no way it seems to delete the whole block by the id of the root
document. There is no way to update the root document that removes the
stale date from the index. Normal SOLR behavior is to automatically
delete old documents with same ID. I expect this behavior for other
documents in this block to.
Anyway to make things clear I issued a JIRA request and tried to explain
it more carefully there:
https://issues.apache.org/jira/browse/SOLR-6096
regards
Thomas