mirror of https://github.com/apache/lucene.git
fix redundant cast warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676222 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b5532c68ab
commit
0534312b8c
|
@ -559,7 +559,7 @@ public class AnalyzingInfixSuggester extends Lookup implements Closeable {
|
|||
//System.out.println("got searcher=" + searcher);
|
||||
searcher.search(finalQuery, c2);
|
||||
|
||||
TopFieldDocs hits = (TopFieldDocs) c.topDocs();
|
||||
TopFieldDocs hits = c.topDocs();
|
||||
|
||||
// Slower way if postings are not pre-sorted by weight:
|
||||
// hits = searcher.search(query, null, num, SORT);
|
||||
|
|
Loading…
Reference in New Issue