mirror of https://github.com/apache/lucene.git
SOLR-801 follow-up -- Fix NullPointerException in case of multiple root entities when deleteQuery is not specified
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@747343 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3a5fa680eb
commit
19d7b267a7
|
@ -700,7 +700,7 @@ public class DocBuilder {
|
|||
if (delQuery == null && !completeCleanDone.get()) {
|
||||
writer.doDeleteAll();
|
||||
completeCleanDone.set(true);
|
||||
} else {
|
||||
} else if (delQuery != null) {
|
||||
writer.deleteByQuery(delQuery);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue