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 TestPrefixQuery.java
Date Sun, 21 Sep 2003 13:42:55 GMT
ehatcher    2003/09/21 06:42:55

  Modified:    src/test/org/apache/lucene/search TestPrefixQuery.java
  Log:
  clarify comment
  
  Revision  Changes    Path
  1.2       +1 -1      jakarta-lucene/src/test/org/apache/lucene/search/TestPrefixQuery.java
  
  Index: TestPrefixQuery.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/test/org/apache/lucene/search/TestPrefixQuery.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestPrefixQuery.java	20 Sep 2003 22:02:52 -0000	1.1
  +++ TestPrefixQuery.java	21 Sep 2003 13:42:55 -0000	1.2
  @@ -85,7 +85,7 @@
       PrefixQuery query = new PrefixQuery(new Term("category", "/Computers"));
       IndexSearcher searcher = new IndexSearcher(directory);
       Hits hits = searcher.search(query);
  -    assertEquals("All documents in /Computers category", 3, hits.length());
  +    assertEquals("All documents in /Computers category and below", 3, hits.length());
   
       query = new PrefixQuery(new Term("category", "/Computers/Mac"));
       hits = searcher.search(query);
  
  
  

Mime
View raw message