mirror of https://github.com/apache/lucene.git
SOLR-976: deleteByQuery is ignored when deleteById is placed prior to deleteByQuery in a <delete>
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@742106 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
60347b2c2c
commit
c7d0222b13
|
@ -247,6 +247,13 @@ Bug Fixes
|
|||
|
||||
28. SOLR-1008: Fix stats.jsp XML encoding for <stat> item entries with ampersands in their names. (ehatcher)
|
||||
|
||||
29. SOLR-976: deleteByQuery is ignored when deleteById is placed prior to deleteByQuery in a <delete>.
|
||||
Now both delete by id and delete by query can be specified at the same time as follows. (koji)
|
||||
<delete>
|
||||
<id>05991</id><id>06000</id>
|
||||
<query>office:Bridgewater</query><query>office:Osaka</query>
|
||||
</delete>
|
||||
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
|
|
|
@ -231,6 +231,8 @@ class XMLLoader extends ContentStreamLoader {
|
|||
"unexpected XML tag /delete/" + currTag);
|
||||
}
|
||||
processor.processDelete(deleteCmd);
|
||||
deleteCmd.id = null;
|
||||
deleteCmd.query = null;
|
||||
break;
|
||||
|
||||
// Add everything to the text
|
||||
|
|
Loading…
Reference in New Issue