public interface SearchIndexBuilder
| 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 registerd, as a clone to avoid concurrent
modification exceptions
|
List<SearchBuilderItem> |
getGlobalMasterSearchItems()
get a list of global search items
|
int |
getPendingDocuments()
get the number of pending documents
|
List<SearchBuilderItem> |
getSiteMasterSearchItems()
get a list of Master Search Items that control the search operation for the
Site (current site)
|
boolean |
isBuildQueueEmpty()
Does the Queue contain work to do.
|
boolean |
isExcludeUserSites() |
boolean |
isOnlyIndexSearchToolSites() |
EntityContentProducer |
newEntityContentProducer(Event event)
get an entity content producer that can handle the event
|
EntityContentProducer |
newEntityContentProducer(String ref)
get an entity content procuder that can handle the reference
|
void |
rebuildIndex()
rebuild the index completely from scratch
|
void |
rebuildIndex(String currentSiteId)
Rebuild the index for the supplied siteId
|
void |
refreshIndex()
Refresh the index based on the registered entities
|
void |
refreshIndex(String currentSiteId)
Refresh the index for the supplied siteId
|
void |
registerEntityContentProducer(EntityContentProducer ecp)
EntityProducers that want their content indexed on full text must
register an EntityContentProducer with the SearchIndexBuilder
|
void addResource(Notification notification, Event event)
notification - event - void registerEntityContentProducer(EntityContentProducer ecp)
ecp - void refreshIndex()
void rebuildIndex()
boolean isBuildQueueEmpty()
List<EntityContentProducer> getContentProducers()
void destroy()
int getPendingDocuments()
void rebuildIndex(String currentSiteId)
currentSiteId - void refreshIndex(String currentSiteId)
currentSiteId - List<SearchBuilderItem> getAllSearchItems()
EntityContentProducer newEntityContentProducer(Event event)
event - EntityContentProducer newEntityContentProducer(String ref)
ref - List<SearchBuilderItem> getSiteMasterSearchItems()
List<SearchBuilderItem> getGlobalMasterSearchItems()
boolean isOnlyIndexSearchToolSites()
boolean isExcludeUserSites()
Copyright © 2003–2014 Sakai Project. All rights reserved.