No need to fetch the freq for term filter

This commit is contained in:
Martijn van Groningen 2013-06-25 22:40:59 +02:00
parent 99cb26fa02
commit 64d42782a9
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public class TermFilter extends Filter {
if (!termsEnum.seekExact(term.bytes(), false)) {
return null;
}
DocsEnum docsEnum = termsEnum.docs(acceptDocs, null);
DocsEnum docsEnum = termsEnum.docs(acceptDocs, null, DocsEnum.FLAG_NONE);
int docId = docsEnum.nextDoc();
if (docId == DocsEnum.NO_MORE_DOCS) {
return null;