mirror of https://github.com/apache/lucene.git
SOLR-1222 should handle multiple calls
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@786497 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7e5cd7b147
commit
5e3152f9b3
|
@ -117,6 +117,8 @@ public class UpdateRequest extends SolrRequest
|
||||||
{
|
{
|
||||||
if( deleteById == null ) {
|
if( deleteById == null ) {
|
||||||
deleteById = new ArrayList<String>(ids);
|
deleteById = new ArrayList<String>(ids);
|
||||||
|
} else {
|
||||||
|
deleteById.addAll(ids);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue