|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FieldPosting
Interface implemented by Posting objects that have field information recorded. Position information can be obtained from the getFieldFrequencies() method. Typically, getFieldLengths() involves a call to the DocumentIndex.
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface org.terrier.structures.postings.Posting |
|---|
asWritablePosting, getDocumentLength, getFrequency, getId, setId |
| Method Detail |
|---|
int[] getFieldFrequencies()
int[] getFieldLengths()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||