You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by sh...@apache.org on 2009/06/30 20:33:19 UTC
svn commit: r789868 -
/lucene/solr/trunk/src/test/org/apache/solr/handler/component/QueryElevationComponentTest.java
Author: shalin
Date: Tue Jun 30 18:33:18 2009
New Revision: 789868
URL: http://svn.apache.org/viewvc?rev=789868&view=rev
Log:
Fix incorrect comment
Modified:
lucene/solr/trunk/src/test/org/apache/solr/handler/component/QueryElevationComponentTest.java
Modified: lucene/solr/trunk/src/test/org/apache/solr/handler/component/QueryElevationComponentTest.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/test/org/apache/solr/handler/component/QueryElevationComponentTest.java?rev=789868&r1=789867&r2=789868&view=diff
==============================================================================
--- lucene/solr/trunk/src/test/org/apache/solr/handler/component/QueryElevationComponentTest.java (original)
+++ lucene/solr/trunk/src/test/org/apache/solr/handler/component/QueryElevationComponentTest.java Tue Jun 30 18:33:18 2009
@@ -153,7 +153,7 @@
// now switch the order:
booster.setTopQueryResults( reader, query, new String[] { "a", "x" }, null );
- assertQ("All six should make it", req
+ assertQ("All four should make it", req
,"//*[@numFound='4']"
,"//result/doc[1]/int[@name='id'][.='a']"
,"//result/doc[2]/int[@name='id'][.='x']"
@@ -163,7 +163,7 @@
// Test reverse sort
args.put( CommonParams.SORT, "score asc" );
- assertQ("All six should make it", req
+ assertQ("All four should make it", req
,"//*[@numFound='4']"
,"//result/doc[4]/int[@name='id'][.='a']"
,"//result/doc[3]/int[@name='id'][.='x']"