public class ArrayOfFieldIterablePosting extends ArrayOfBasicIterablePosting implements FieldPosting
doclens, frequencies
ids, indice
EOL
Constructor and Description |
---|
ArrayOfFieldIterablePosting(int[] _ids,
int[] _freqs,
int[] _lens,
int[][] _tff,
int[][] _lf) |
ArrayOfFieldIterablePosting(int[] _ids,
int[] _freqs,
int[] _lens,
int[][] _tff,
int[][] _lf,
boolean invert) |
Modifier and Type | Method and Description |
---|---|
int[] |
getFieldFrequencies()
Returns the frequencies of the term in each field of the document
|
int[] |
getFieldLengths()
Returns the lengths of the each fields in the current document
|
void |
setFieldLengths(int[] newLengths) |
getDocumentLength, getFrequency
asWritablePosting, close, endOfPostings, getId, next, setId
next
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asWritablePosting, getDocumentLength, getFrequency, getId, setId
public ArrayOfFieldIterablePosting(int[] _ids, int[] _freqs, int[] _lens, int[][] _tff, int[][] _lf)
public ArrayOfFieldIterablePosting(int[] _ids, int[] _freqs, int[] _lens, int[][] _tff, int[][] _lf, boolean invert)
public int[] getFieldFrequencies()
FieldPosting
getFieldFrequencies
in interface FieldPosting
public int[] getFieldLengths()
FieldPosting
getFieldLengths
in interface FieldPosting
public void setFieldLengths(int[] newLengths)
setFieldLengths
in interface FieldPosting
Terrier 4.0. Copyright © 2004-2014 University of Glasgow