|
Oracle Fusion Applications Search Java API Reference for Oracle Enterprise Crawl and Search Framework
11g Release 1 (11.1.1.6) E21908-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Indexer
The indexer
is responsible for indexing a document. It bridges between
an index engine and indexable documents.
A search engine should implement this interface with its internal index mechanism.
Method Summary | |
---|---|
void |
close(SearchContext searchContext)
Closes the indexer. |
void |
createIndex(SearchContext searchContext)
Creates an index store. |
void |
deleteIndex(SearchContext searchContext)
Deletes the index store permanently |
void |
indexDocument(SearchContext searchContext,
IndexableDocument document)
Indexs a document. |
void |
setSearchableObject(SearchableObject searchableObject)
Sets Searchable Object for this indexer |
Method Detail |
---|
void indexDocument(SearchContext searchContext, IndexableDocument document) throws IndexingException
searchContext
- crawl time context.document
- to be indexed.
IndexingException
void setSearchableObject(SearchableObject searchableObject) throws IndexingException
searchableObject
-
IndexingException
void close(SearchContext searchContext) throws IndexingException
IndexingException
void createIndex(SearchContext searchContext) throws IndexingException
IndexingException
void deleteIndex(SearchContext searchContext)
searchContext
-
|
Oracle Fusion Applications Search Java API Reference for Oracle Enterprise Crawl and Search Framework
11g Release 1 (11.1.1.6) E21908-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |