mirror of https://github.com/apache/lucene.git
fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597612 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3b55751084
commit
7ea65b43f5
|
@ -112,7 +112,6 @@ public class UIMABaseAnalyzerTest extends BaseTokenStreamTestCase {
|
||||||
assertEquals(dogmasContents, d1.getField("contents").stringValue());
|
assertEquals(dogmasContents, d1.getField("contents").stringValue());
|
||||||
|
|
||||||
// do a matchalldocs query to retrieve both docs
|
// do a matchalldocs query to retrieve both docs
|
||||||
indexSearcher = newSearcher(directoryReader);
|
|
||||||
result = indexSearcher.search(new MatchAllDocsQuery(), 2);
|
result = indexSearcher.search(new MatchAllDocsQuery(), 2);
|
||||||
assertEquals(2, result.totalHits);
|
assertEquals(2, result.totalHits);
|
||||||
writer.shutdown();
|
writer.shutdown();
|
||||||
|
|
Loading…
Reference in New Issue