public interface Posting
Modifier and Type | Method and Description |
---|---|
WritablePosting |
asWritablePosting()
Copies this posting to one free of an iterator.
|
int |
getDocumentLength()
Return the length of the document for this posting.
|
int |
getFrequency()
Return the frequency of the term in the current document
|
int |
getId()
Return the id of the current posting.
|
void |
setId(int id)
It may be of benefit to update the frequency of the id in some applications.
|
int getId()
int getFrequency()
int getDocumentLength()
void setId(int id)
WritablePosting asWritablePosting()
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow