clarify comment

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150056 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2003-09-21 13:42:55 +00:00
parent 8958352e85
commit bbc24bfca5
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ public class TestPrefixQuery extends TestCase {
PrefixQuery query = new PrefixQuery(new Term("category", "/Computers")); PrefixQuery query = new PrefixQuery(new Term("category", "/Computers"));
IndexSearcher searcher = new IndexSearcher(directory); IndexSearcher searcher = new IndexSearcher(directory);
Hits hits = searcher.search(query); 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")); query = new PrefixQuery(new Term("category", "/Computers/Mac"));
hits = searcher.search(query); hits = searcher.search(query);