public abstract class IListRemapper extends IListShadow
uid
s to new values in the
inverted list. This action is offered to a barrel that has many removed
documents.
The final inverted list that Remapper generates is a list that would exist if
the barrel did not contain any removed documents and the first document had
uid=0
.
Constructor and Description |
---|
IListRemapper(IListReader orig)
Constructor for the Remapper object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
next()
Get a next item of an inverted list and remap it.
|
abstract boolean |
removed(long uid)
Test whether the specified document has been removed.
|
boolean |
skipTo(long uid)
This method is not supported.
|
long |
uid()
Identification of the document.
|
close, getPostings, getTerm, openProx, setSource, weight
public IListRemapper(IListReader orig)
orig
- the IListReader used by this object to read inverted listspublic boolean skipTo(long uid)
skipTo
in interface IListReader
skipTo
in class IListShadow
uid
- parameterpublic long uid()
IListItem
uid
in interface IListItem
uid
in class IListShadow
public boolean next()
next
in interface IListReader
next
in class IListShadow
public abstract boolean removed(long uid)
uid
- the document in questionCopyright © 2016 Egothor. All Rights Reserved.