public class IndexFieldTerm extends Object implements Iterable<TermPosition>
| Constructor and Description |
|---|
IndexFieldTerm(String term,
String fieldName,
IndexLookup indexLookup,
int flags) |
| Modifier and Type | Method and Description |
|---|---|
long |
df() |
Iterator<TermPosition> |
iterator() |
void |
setNextDoc(int docId) |
protected boolean |
shouldRetrieveOffsets() |
protected boolean |
shouldRetrievePayloads() |
protected boolean |
shouldRetrievePositions() |
int |
tf() |
long |
ttf() |
void |
validateFlags(int flags2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic IndexFieldTerm(String term, String fieldName, IndexLookup indexLookup, int flags)
public long df()
throws IOException
IOExceptionpublic long ttf()
throws IOException
IOExceptionpublic void setNextDoc(int docId)
protected boolean shouldRetrievePositions()
protected boolean shouldRetrieveOffsets()
protected boolean shouldRetrievePayloads()
public int tf()
throws IOException
IOExceptionpublic Iterator<TermPosition> iterator()
iterator in interface Iterable<TermPosition>public void validateFlags(int flags2)
Copyright © 2009–2016. All rights reserved.