|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IndexerIF
INTERNAL: Represents a search engine indexer. Instances of this class are able to index documents and generate an index which can be used for searching those documents.
| Method Summary | |
|---|---|
void |
close()
INTERNAL: Closes the indexer. |
void |
delete()
INTERNAL: Deletes the index. |
int |
delete(java.lang.String field,
java.lang.String value)
INTERNAL: Removes all documents with the specified field value from the index. |
void |
flush()
INTERNAL: Flushes all changes done to the index. |
void |
index(DocumentIF document)
INTERNAL: Indexes the specified document. |
| Method Detail |
|---|
void index(DocumentIF document)
throws java.io.IOException
java.io.IOException
int delete(java.lang.String field,
java.lang.String value)
throws java.io.IOException
java.io.IOException
void flush()
throws java.io.IOException
java.io.IOException
void delete()
throws java.io.IOException
java.io.IOException
void close()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||