lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject cvs commit: jakarta-lucene/src/test/org/apache/lucene/search TestFilteredQuery.java
Date Thu, 13 May 2004 03:11:45 GMT
ehatcher    2004/05/12 20:11:45

  Modified:    src/test/org/apache/lucene/search TestFilteredQuery.java
  Log:
  Remove commented out workaround fix.  Doug fixed FilteredQuery's rewrite.
  
  Revision  Changes    Path
  1.3       +4 -3      jakarta-lucene/src/test/org/apache/lucene/search/TestFilteredQuery.java
  
  Index: TestFilteredQuery.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/test/org/apache/lucene/search/TestFilteredQuery.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestFilteredQuery.java	8 May 2004 15:06:19 -0000	1.2
  +++ TestFilteredQuery.java	13 May 2004 03:11:45 -0000	1.3
  @@ -116,11 +116,12 @@
       assertEquals (0, hits.length());
     }
   
  +  /** 
  +   * This tests FilteredQuery's rewrite correctness
  +   */
     public void testRangeQuery() throws Exception {
       RangeQuery rq = new RangeQuery(
           new Term("sorter", "b"), new Term("sorter", "d"), true);
  -
  -    // rq = rq.rewrite(searcher.reader) // makes the test pass
   
       Query filteredquery = new FilteredQuery(rq, filter);
       Hits hits = searcher.search(filteredquery);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message