public class BlockFieldORIterablePosting extends FieldORIterablePosting implements BlockPosting
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, setId
next
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 Platform4.1. Copyright © 2004-2015, University of Glasgow