public class FilterableTermsEnum
extends org.apache.lucene.index.TermsEnum
Modifier and Type | Field and Description |
---|---|
protected org.apache.lucene.util.BytesRef |
current |
protected int |
currentDocFreq |
protected long |
currentTotalTermFreq |
protected int |
docsEnumFlag |
protected static int |
NOT_FOUND |
protected int |
numDocs |
Constructor and Description |
---|
FilterableTermsEnum(org.apache.lucene.index.IndexReader reader,
String field,
int docsEnumFlag,
org.apache.lucene.search.Filter filter) |
Modifier and Type | Method and Description |
---|---|
int |
docFreq() |
org.apache.lucene.index.DocsEnum |
docs(org.apache.lucene.util.Bits liveDocs,
org.apache.lucene.index.DocsEnum reuse,
int flags) |
org.apache.lucene.index.DocsAndPositionsEnum |
docsAndPositions(org.apache.lucene.util.Bits liveDocs,
org.apache.lucene.index.DocsAndPositionsEnum reuse,
int flags) |
Comparator<org.apache.lucene.util.BytesRef> |
getComparator() |
int |
getNumDocs() |
org.apache.lucene.util.BytesRef |
next() |
long |
ord() |
org.apache.lucene.index.TermsEnum.SeekStatus |
seekCeil(org.apache.lucene.util.BytesRef text) |
boolean |
seekExact(org.apache.lucene.util.BytesRef text) |
void |
seekExact(long ord) |
org.apache.lucene.util.BytesRef |
term() |
long |
totalTermFreq() |
protected static final int NOT_FOUND
protected int currentDocFreq
protected long currentTotalTermFreq
protected org.apache.lucene.util.BytesRef current
protected final int docsEnumFlag
protected int numDocs
public FilterableTermsEnum(org.apache.lucene.index.IndexReader reader, String field, int docsEnumFlag, @Nullable org.apache.lucene.search.Filter filter) throws IOException
IOException
public int getNumDocs()
public org.apache.lucene.util.BytesRef term() throws IOException
term
in class org.apache.lucene.index.TermsEnum
IOException
public boolean seekExact(org.apache.lucene.util.BytesRef text) throws IOException
seekExact
in class org.apache.lucene.index.TermsEnum
IOException
public int docFreq() throws IOException
docFreq
in class org.apache.lucene.index.TermsEnum
IOException
public long totalTermFreq() throws IOException
totalTermFreq
in class org.apache.lucene.index.TermsEnum
IOException
public void seekExact(long ord) throws IOException
seekExact
in class org.apache.lucene.index.TermsEnum
IOException
public org.apache.lucene.index.TermsEnum.SeekStatus seekCeil(org.apache.lucene.util.BytesRef text) throws IOException
seekCeil
in class org.apache.lucene.index.TermsEnum
IOException
public long ord() throws IOException
ord
in class org.apache.lucene.index.TermsEnum
IOException
public org.apache.lucene.index.DocsEnum docs(org.apache.lucene.util.Bits liveDocs, org.apache.lucene.index.DocsEnum reuse, int flags) throws IOException
docs
in class org.apache.lucene.index.TermsEnum
IOException
public org.apache.lucene.index.DocsAndPositionsEnum docsAndPositions(org.apache.lucene.util.Bits liveDocs, org.apache.lucene.index.DocsAndPositionsEnum reuse, int flags) throws IOException
docsAndPositions
in class org.apache.lucene.index.TermsEnum
IOException
public org.apache.lucene.util.BytesRef next() throws IOException
IOException
public Comparator<org.apache.lucene.util.BytesRef> getComparator()
Copyright © 2009–2015. All rights reserved.