|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.egothor.core.IListShadow
org.egothor.core.IListRemapper
public abstract class IListRemapper
This object remaps the document uids 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 Summary | |
|---|---|
IListRemapper(IListReader orig)
Constructor for the Remapper object. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.egothor.core.IListShadow |
|---|
close, getPostings, getTerm, openProx, setSource, weight |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IListRemapper(IListReader orig)
orig - the IListReader used by this object to read inverted lists| Method Detail |
|---|
public boolean skipTo(long uid)
skipTo in interface IListReaderskipTo in class IListShadowuid - parameter
public long uid()
IListItem
uid in interface IListItemuid in class IListShadowpublic boolean next()
next in interface IListReadernext in class IListShadowpublic abstract boolean removed(long uid)
uid - the document in question
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||