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, setFieldLengthsclose, endOfPostings, getDocumentLength, getFrequency, getId, mergePostings, next, setIdnextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocumentLength, getFrequency, getId, setIdpublic BlockFieldORIterablePosting(IterablePosting[] ips) throws IOException
ips - IOExceptionpublic int[] getPositions()
BlockPostinggetPositions in interface BlockPostingprotected void addPosting(Posting p)
addPosting in class FieldORIterablePostingprotected void firstPosting(Posting p)
firstPosting in class FieldORIterablePostingpublic WritablePosting asWritablePosting()
ORIterablePostingasWritablePosting in interface PostingasWritablePosting in class FieldORIterablePostingTerrier 4.0. Copyright © 2004-2014 University of Glasgow