public class BlockMultiDirectIterablePosting extends MultiDirectIterablePosting implements BlockPosting
END_OF_LIST, EOL| Constructor and Description |
|---|
BlockMultiDirectIterablePosting(IterablePosting posting,
MultiLexicon lex,
int shard) |
| Modifier and Type | Method and Description |
|---|---|
WritablePosting |
asWritablePosting()
Copies this posting to one free of an iterator.
|
int[] |
getPositions()
Return positions of occurrences
|
close, endOfPostings, getDocumentLength, getFrequency, getId, next, next, of, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocumentLength, getFrequency, getId, setIdpublic BlockMultiDirectIterablePosting(IterablePosting posting, MultiLexicon lex, int shard)
public int[] getPositions()
BlockPostinggetPositions in interface BlockPostingpublic WritablePosting asWritablePosting()
PostingasWritablePosting in interface PostingasWritablePosting in class MultiDirectIterablePostingTerrier Information Retrieval Platform 5.2. Copyright © 2004-2019, University of Glasgow