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, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocumentLength, getFrequency, getId, setId
public BlockMultiDirectIterablePosting(IterablePosting posting, MultiLexicon lex, int shard)
public int[] getPositions()
BlockPosting
getPositions
in interface BlockPosting
public WritablePosting asWritablePosting()
Posting
asWritablePosting
in interface Posting
asWritablePosting
in class MultiDirectIterablePosting
Terrier Information Retrieval Platform 5.2. Copyright © 2004-2019, University of Glasgow