Package org.terrier.structures.postings
Interface BlockPosting
-
- All Superinterfaces:
Posting
- All Known Implementing Classes:
ArrayOfBlockFieldIterablePosting,ArrayOfBlockIterablePosting,BlockFieldIterablePosting,BlockFieldORIterablePosting,BlockFieldPostingImpl,BlockIterablePosting,BlockMultiDirectIterablePosting,BlockMultiIterablePosting,BlockORIterablePosting,BlockPostingImpl,PhraseIterablePosting
public interface BlockPosting extends Posting
Interface implemented by posting objects that have position information recorded. Position information can be obtained from thegetPositions()method.- Since:
- 3.0
- Author:
- Craig Macdonald
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int[]getPositions()Return the positions of occurrences of the term in the current document.-
Methods inherited from interface org.terrier.structures.postings.Posting
asWritablePosting, getDocumentLength, getFrequency, getId, setId
-
-