public class ArrayOfFieldIterablePosting extends ArrayOfBasicIterablePosting implements FieldPosting
doclens, frequenciesids, indiceEOL| 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, close, endOfPostings, getId, next, setIdnextclone, equals, 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 Platform4.1. Copyright © 2004-2015, University of Glasgow