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, wait
forEach, spliterator
public IndexFieldTerm(String term, String fieldName, IndexLookup indexLookup, int flags)
public long df() throws IOException
IOException
public long ttf() throws IOException
IOException
public void setNextDoc(int docId)
protected boolean shouldRetrievePositions()
protected boolean shouldRetrieveOffsets()
protected boolean shouldRetrievePayloads()
public int tf() throws IOException
IOException
public Iterator<TermPosition> iterator()
iterator
in interface Iterable<TermPosition>
public void validateFlags(int flags2)
Copyright © 2009–2015. All rights reserved.