|
Project JXTA | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Indexer is the abstract indexing interface for Xindice. An Indexer
object is implemented in order to retrieve and manage indexes.
Any number of Indexer instances may be associated with a single
Collection. The type of Indexer utilized by a query depends on
the 'Style' of Indexer and the type of QueryResolver that is being
used to performt he query. Currently, Xindice only internally
supports one kind of Indexer: 'XPath'.
| Method Summary | |
void |
add(Key key,
long pos)
add adds a Document to the Indexer. |
void |
flush()
flush forcefully flushes any unwritten buffers to disk. |
void |
remove(Key key)
remove removes all references to the specified Key from the Indexer. |
| Methods inherited from interface net.jxta.impl.xindice.core.DBObject |
close, create, drop, exists, isOpened, open |
| Method Detail |
public void remove(Key key)
throws DBException
key - The Object ID
DBException
public void add(Key key,
long pos)
throws DBException
key - The Object ID
DBException
public void flush()
throws DBException
DBException
|
JXTA J2SE | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||