|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Pipeline
A class that encapsulates the machinery of a single indexing pipeline. A pipeline can be used for indexing data or for performing highlighting operations.
| Method Summary | |
|---|---|
void |
dump()
Dumps all of the data indexed by a given pipeline into the given dumper. |
void |
flush()
Flushes all the data currently held in the queue. |
Stage |
getHead()
Gets the head of the pipeline. |
void |
index(Indexable doc)
Adds an indexable object to the pipeline for indexing. |
void |
purge()
Purge the data currently in the pipeline. |
void |
shutdown()
Shuts down the pipeline, flushing all data currently held in the queue. |
| Method Detail |
|---|
Stage getHead()
void index(Indexable doc)
throws SearchEngineException
doc - a document to index.
SearchEngineException - if there are any errors during indexing.
void dump()
throws SearchEngineException
SearchEngineException - if the dump failsvoid purge()
SearchEngineExceptionvoid flush()
void shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||