|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SharedEntityIndexer
Responsible for actually indexing a SharedEntity
.
Method Summary | |
---|---|
String |
clear(SharedEntity.TypeDescriptor type)
Clear a particular type's index. |
void |
deIndex(SharedEntity entity)
Delete a document from the index. |
Collection |
getAllIndexPaths()
|
SharedEntitySearcher |
getSearcher(SharedEntity.TypeDescriptor type)
Get a SharedEntitySearcher for the specified SharedEntity.TypeDescriptor |
void |
index(SharedEntity entity)
Add or update a document in the index. |
long |
optimize(SharedEntity.TypeDescriptor type)
Optimize a particular type's index. |
void |
shutdown(SharedEntity.TypeDescriptor type)
Shutdown a particular type's index. |
Method Detail |
---|
void index(SharedEntity entity)
entity
- the entity to add to the indexvoid deIndex(SharedEntity entity)
entity
- the entity to remove from the indexSharedEntitySearcher getSearcher(SharedEntity.TypeDescriptor type)
SharedEntity.TypeDescriptor
type
- the index to use when searching
long optimize(SharedEntity.TypeDescriptor type)
type
- describes the particular index
void shutdown(SharedEntity.TypeDescriptor type)
type
- describes the particular indexString clear(SharedEntity.TypeDescriptor type)
type
- describes the particular indexCollection getAllIndexPaths()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |