public class ArrayOfBlockFieldIterablePosting extends ArrayOfFieldIterablePosting implements BlockPosting
doclens, frequenciesids, indiceEOL| 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, setFieldLengthsgetDocumentLength, getFrequencyasWritablePosting, close, endOfPostings, getId, setIdnextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasWritablePosting, getDocumentLength, getFrequency, getId, setIdpublic 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()
BlockPostinggetPositions in interface BlockPostingpublic int next()
throws IOException
ArrayOfIdsIterablePostingnext in interface IterablePostingnext in class ArrayOfIdsIterablePostingIOExceptionTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow