lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r786497 - /lucene/solr/trunk/src/solrj/org/apache/solr/client/solrj/request/UpdateRequest.java
Date Fri, 19 Jun 2009 13:12:45 GMT
Author: noble
Date: Fri Jun 19 13:12:45 2009
New Revision: 786497

URL: http://svn.apache.org/viewvc?rev=786497&view=rev
Log:
SOLR-1222 should handle multiple calls

Modified:
    lucene/solr/trunk/src/solrj/org/apache/solr/client/solrj/request/UpdateRequest.java

Modified: lucene/solr/trunk/src/solrj/org/apache/solr/client/solrj/request/UpdateRequest.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/solrj/org/apache/solr/client/solrj/request/UpdateRequest.java?rev=786497&r1=786496&r2=786497&view=diff
==============================================================================
--- lucene/solr/trunk/src/solrj/org/apache/solr/client/solrj/request/UpdateRequest.java (original)
+++ lucene/solr/trunk/src/solrj/org/apache/solr/client/solrj/request/UpdateRequest.java Fri
Jun 19 13:12:45 2009
@@ -117,6 +117,8 @@
   {
     if( deleteById == null ) {
       deleteById = new ArrayList<String>(ids);
+    } else {
+      deleteById.addAll(ids);
     }
     return this;
   }



Mime
View raw message