You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2012/08/03 22:57:32 UTC
svn commit: r1369208 - in /lucene/dev/branches/branch_4x: ./ solr/ solr/core/
solr/core/src/test/org/apache/solr/update/SolrCmdDistributorTest.java
Author: markrmiller
Date: Fri Aug 3 20:57:32 2012
New Revision: 1369208
URL: http://svn.apache.org/viewvc?rev=1369208&view=rev
Log:
put this optimize back in - we need to make sure the deletes are cleared
Modified:
lucene/dev/branches/branch_4x/ (props changed)
lucene/dev/branches/branch_4x/solr/ (props changed)
lucene/dev/branches/branch_4x/solr/core/ (props changed)
lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/update/SolrCmdDistributorTest.java
Modified: lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/update/SolrCmdDistributorTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/update/SolrCmdDistributorTest.java?rev=1369208&r1=1369207&r2=1369208&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/update/SolrCmdDistributorTest.java (original)
+++ lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/update/SolrCmdDistributorTest.java Fri Aug 3 20:57:32 2012
@@ -172,10 +172,11 @@ public class SolrCmdDistributorTest exte
assertEquals(results.toString(), 2, numFound);
// debug stuff
-// for (SolrServer c : clients) {
-// c.optimize();
-// System.out.println(clients.get(0).request(new LukeRequest()));
-// }
+ for (SolrServer c : clients) {
+ c.optimize();
+ // distrib optimize is not working right yet, so call it on each client
+ //System.out.println(clients.get(0).request(new LukeRequest()));
+ }
int id = 5;