mirror of
https://github.com/apache/lucene.git
synced 2025-03-04 07:19:18 +00:00
Fix incorrect comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@789868 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
23d7c016ee
commit
5a468f5f94
@ -153,7 +153,7 @@ public class QueryElevationComponentTest extends AbstractSolrTestCase {
|
||||
|
||||
// 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 @@ public class QueryElevationComponentTest extends AbstractSolrTestCase {
|
||||
|
||||
// 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']"
|
||||
|
Loading…
x
Reference in New Issue
Block a user