public class ArrayOfBlockFieldIterablePosting extends ArrayOfFieldIterablePosting implements BlockPosting
doclens, frequencies
ids, indice
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, close, endOfPostings, getId, setId
next
clone, 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 4.0. Copyright © 2004-2014 University of Glasgow