public class ArrayOfBlockFieldIterablePosting extends ArrayOfFieldIterablePosting implements BlockPosting
doclens, frequencies
ids, indice
END_OF_LIST, EOL
Constructor and Description |
---|
ArrayOfBlockFieldIterablePosting(int[] _ids,
int[] _freqs,
int[] _lens,
int[][] _tff,
int[][] _lf,
boolean invertFields,
int[] posCount,
int[] allpos) |
ArrayOfBlockFieldIterablePosting(int[] _ids,
int[] _freqs,
int[] _lens,
int[][] _tff,
int[][] _lf,
int[] posCount,
int[] allpos) |
Modifier and Type | Method and Description |
---|---|
int[] |
getPositions()
Return positions of occurrences
|
int |
next()
Move this iterator to the next posting.
|
getFieldFrequencies, getFieldLengths, setFieldLengths
getDocumentLength, getFrequency
asWritablePosting, clone, close, endOfPostings, getId, reset, setId
next
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asWritablePosting, getDocumentLength, getFrequency, getId, setId
public ArrayOfBlockFieldIterablePosting(int[] _ids, int[] _freqs, int[] _lens, int[][] _tff, int[][] _lf, int[] posCount, int[] allpos)
public ArrayOfBlockFieldIterablePosting(int[] _ids, int[] _freqs, int[] _lens, int[][] _tff, int[][] _lf, boolean invertFields, int[] posCount, int[] allpos)
public int[] getPositions()
BlockPosting
getPositions
in interface BlockPosting
public int next() throws IOException
ArrayOfIdsIterablePosting
next
in interface IterablePosting
next
in class ArrayOfIdsIterablePosting
IOException
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow