public class BlockFieldORIterablePosting extends FieldORIterablePosting implements BlockPosting
END_OF_LIST, EOL
Constructor and Description |
---|
BlockFieldORIterablePosting(IterablePosting[] ips)
Constructs an instance of the BlockFieldORIterablePosting
|
Modifier and Type | Method and Description |
---|---|
protected void |
addPosting(Posting p) |
WritablePosting |
asWritablePosting()
Copies this posting to one free of an iterator.
|
protected void |
firstPosting(Posting p) |
int[] |
getPositions()
Return positions of occurrences
|
getFieldFrequencies, getFieldLengths, setFieldLengths
close, endOfPostings, getDocumentLength, getFrequency, getId, mergePostings, next, next, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocumentLength, getFrequency, getId, setId
public BlockFieldORIterablePosting(IterablePosting[] ips) throws IOException
ips
- IOException
public int[] getPositions()
BlockPosting
getPositions
in interface BlockPosting
protected void addPosting(Posting p)
addPosting
in class FieldORIterablePosting
protected void firstPosting(Posting p)
firstPosting
in class FieldORIterablePosting
public WritablePosting asWritablePosting()
ORIterablePosting
asWritablePosting
in interface Posting
asWritablePosting
in class FieldORIterablePosting
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow