mirror of https://github.com/apache/lucene.git
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:
parent
8958352e85
commit
bbc24bfca5
|
@ -85,7 +85,7 @@ public class TestPrefixQuery extends TestCase {
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue