public class ArrayOfFieldIterablePosting extends ArrayOfBasicIterablePosting implements FieldPosting
doclens, frequenciesids, indiceEND_OF_LIST, 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, getFrequencyasWritablePosting, clone, close, endOfPostings, getId, next, reset, setIdnextequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasWritablePosting, getDocumentLength, getFrequency, getId, setIdpublic 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()
FieldPostinggetFieldFrequencies in interface FieldPostingpublic int[] getFieldLengths()
FieldPostinggetFieldLengths in interface FieldPostingpublic void setFieldLengths(int[] newLengths)
setFieldLengths in interface FieldPostingTerrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow