Github user moshebla commented on a diff in the pull request:
https://github.com/apache/lucene-solr/pull/455#discussion_r219034542
--- Diff:
solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.java
---
@@ -1184,7 +1196,16 @@ protected boolean versionAdd(AddUpdateCommand cmd)
throws IOException {
// TODO: possibly set checkDeleteByQueries as a flag on the
command?
doLocalAdd(cmd);
-
+
+ if(lastKnownVersion != null &&
req.getSchema().isUsableForChildDocs() &&
--- End diff --
This delete ensures the updated block is the latest block, deleting all
previous ones.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]