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, setId
next
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocumentLength, getFrequency, getId, setId
public FieldORIterablePosting(IterablePosting[] ips) throws IOException
ips
- IOException
public int[] getFieldFrequencies()
FieldPosting
getFieldFrequencies
in interface FieldPosting
public int[] getFieldLengths()
FieldPosting
getFieldLengths
in interface FieldPosting
public void setFieldLengths(int[] fl)
setFieldLengths
in interface FieldPosting
protected void addPosting(Posting _p)
addPosting
in class ORIterablePosting
protected void firstPosting(Posting _p)
firstPosting
in class ORIterablePosting
public WritablePosting asWritablePosting()
ORIterablePosting
asWritablePosting
in interface Posting
asWritablePosting
in class ORIterablePosting
Terrier 4.0. Copyright © 2004-2014 University of Glasgow