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:
Robert Muir 2014-05-26 16:12:45 +00:00
parent 3b55751084
commit 7ea65b43f5
1 changed files with 0 additions and 1 deletions

View File

@ -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();