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 |
EOL
Constructor and Description |
---|
BlockFieldPostingInRun.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 BlockFieldPostingInRun.bfPIRPostingIterator(int runShift)
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 Platform4.1. Copyright © 2004-2015, University of Glasgow