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 |
Constructor and Description |
---|
FilterableTermsEnum(org.apache.lucene.index.IndexReader reader,
java.lang.String field,
int docsEnumFlag,
org.apache.lucene.search.Query filter) |
Modifier and Type | Method and Description |
---|---|
int |
docFreq() |
org.apache.lucene.util.BytesRef |
next() |
long |
ord() |
org.apache.lucene.index.PostingsEnum |
postings(org.apache.lucene.index.PostingsEnum reuse,
int flags) |
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
public FilterableTermsEnum(org.apache.lucene.index.IndexReader reader, java.lang.String field, int docsEnumFlag, @Nullable org.apache.lucene.search.Query filter) throws java.io.IOException
java.io.IOException
public org.apache.lucene.util.BytesRef term() throws java.io.IOException
term
in class org.apache.lucene.index.TermsEnum
java.io.IOException
public boolean seekExact(org.apache.lucene.util.BytesRef text) throws java.io.IOException
seekExact
in class org.apache.lucene.index.TermsEnum
java.io.IOException
public int docFreq() throws java.io.IOException
docFreq
in class org.apache.lucene.index.TermsEnum
java.io.IOException
public long totalTermFreq() throws java.io.IOException
totalTermFreq
in class org.apache.lucene.index.TermsEnum
java.io.IOException
public void seekExact(long ord) throws java.io.IOException
seekExact
in class org.apache.lucene.index.TermsEnum
java.io.IOException
public org.apache.lucene.index.TermsEnum.SeekStatus seekCeil(org.apache.lucene.util.BytesRef text) throws java.io.IOException
seekCeil
in class org.apache.lucene.index.TermsEnum
java.io.IOException
public long ord() throws java.io.IOException
ord
in class org.apache.lucene.index.TermsEnum
java.io.IOException
public org.apache.lucene.index.PostingsEnum postings(org.apache.lucene.index.PostingsEnum reuse, int flags) throws java.io.IOException
postings
in class org.apache.lucene.index.TermsEnum
java.io.IOException
public org.apache.lucene.util.BytesRef next() throws java.io.IOException
java.io.IOException