public interface SearchIndexBuilder
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_INDEX_BUILDER_NAME |
static String |
DEFAULT_INDEX_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
addResource(Notification notification,
Event event)
Adds a resource to the index builder
|
void |
destroy()
Close down the entire search infrastructure
|
List<SearchBuilderItem> |
getAllSearchItems()
get a list of all entitied in the search index
|
List<EntityContentProducer> |
getContentProducers()
Get all the producers registered, as a clone to avoid concurrent
modification exceptions
|
List<SearchBuilderItem> |
getGlobalMasterSearchItems()
get a list of global search items
|
String |
getName()
Access the logical, well-known name of this index builder.
|
int |
getPendingDocuments()
get the number of pending documents
|
boolean |
isBuildQueueEmpty()
Does the Queue contain work to do.
|
EntityContentProducer |
newEntityContentProducer(Event event)
get an entity content producer that can handle the event
|
EntityContentProducer |
newEntityContentProducer(String ref)
get an entity content producer that can handle the reference
|
void |
rebuildIndex()
rebuild the index completely from scratch
|
void |
refreshIndex()
Refresh the index based on the registered entities
|
void |
registerEntityContentProducer(EntityContentProducer ecp)
Register an implementation-specific indexable content producer instance with this
SearchIndexBuilder. |
static final String DEFAULT_INDEX_BUILDER_NAME
static final String DEFAULT_INDEX_NAME
String getName()
SearchService as a key for index-specific search
queries.void addResource(Notification notification, Event event)
notification - event - void registerEntityContentProducer(EntityContentProducer ecp)
SearchIndexBuilder.ecp - void refreshIndex()
void rebuildIndex()
boolean isBuildQueueEmpty()
List<EntityContentProducer> getContentProducers()
void destroy()
int getPendingDocuments()
List<SearchBuilderItem> getAllSearchItems()
EntityContentProducer newEntityContentProducer(Event event)
event - EntityContentProducer newEntityContentProducer(String ref)
ref - List<SearchBuilderItem> getGlobalMasterSearchItems()
Copyright © 2003–2019 Sakai Project. All rights reserved.