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:
Noble Paul 2009-06-19 13:12:45 +00:00
parent 7e5cd7b147
commit 5e3152f9b3
1 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,8 @@ public class UpdateRequest extends SolrRequest
{
if( deleteById == null ) {
deleteById = new ArrayList<String>(ids);
} else {
deleteById.addAll(ids);
}
return this;
}