protected class BlockFieldPostingInRun.bfPIRPostingIterator extends SimplePostingInRun.PIRPostingIterator implements FieldPosting, BlockPosting
Modifier and Type | Field and Description |
---|---|
protected int |
blockFreq |
protected int[] |
blockIds |
protected int[] |
fieldFrequencies |
END_OF_LIST, EOL
Constructor and Description |
---|
bfPIRPostingIterator(int runShift) |
Modifier and Type | Method and Description |
---|---|
WritablePosting |
asWritablePosting()
Copies this posting to one free of an iterator.
|
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
|
int[] |
getPositions()
Return positions of occurrences
|
protected void |
readPostingNotDocid() |
void |
setFieldLengths(int[] fl)
.
|
close, endOfPostings, getDocumentLength, getFrequency, getId, next, setId
next
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocumentLength, getFrequency, getId, setId
protected int[] fieldFrequencies
protected int blockFreq
protected int[] blockIds
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 readPostingNotDocid() throws IOException
readPostingNotDocid
in class SimplePostingInRun.PIRPostingIterator
IOException
public int[] getPositions()
BlockPosting
getPositions
in interface BlockPosting
public WritablePosting asWritablePosting()
Posting
asWritablePosting
in interface Posting
asWritablePosting
in class SimplePostingInRun.PIRPostingIterator
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow