public class FieldORIterablePosting extends ORIterablePosting implements FieldPosting
EOL| Constructor and Description |
|---|
FieldORIterablePosting(IterablePosting[] ips)
Constructs an instance of FieldORIterablePosting.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPosting(Posting _p) |
WritablePosting |
asWritablePosting()
Copies this posting to one free of an iterator.
|
protected void |
firstPosting(Posting _p) |
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[] fl)
.
|
close, endOfPostings, getDocumentLength, getFrequency, getId, mergePostings, next, setIdnextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocumentLength, getFrequency, getId, setIdpublic FieldORIterablePosting(IterablePosting[] ips) throws IOException
ips - IOExceptionpublic int[] getFieldFrequencies()
FieldPostinggetFieldFrequencies in interface FieldPostingpublic int[] getFieldLengths()
FieldPostinggetFieldLengths in interface FieldPostingpublic void setFieldLengths(int[] fl)
setFieldLengths in interface FieldPostingprotected void addPosting(Posting _p)
addPosting in class ORIterablePostingprotected void firstPosting(Posting _p)
firstPosting in class ORIterablePostingpublic WritablePosting asWritablePosting()
ORIterablePostingasWritablePosting in interface PostingasWritablePosting in class ORIterablePostingTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow