|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xcmis.search.SearchService
public class SearchService
Main entry point to the search service.
| Field Summary | |
|---|---|
protected SearchServiceConfiguration |
configuration
Configuration of search service. |
| Constructor Summary | |
|---|---|
SearchService(SearchServiceConfiguration configuration)
|
|
| Method Summary | |
|---|---|
protected void |
addQueryableIndexStorageInterceptor(InterceptorChain interceptorChain)
Add interceptors that handle ModifyIndexCommand and
ExecuteSelectorCommand |
List<ScoredRow> |
execute(org.xcmis.search.model.Query query)
Execute query. |
List<ScoredRow> |
execute(org.xcmis.search.model.Query query,
Map<String,Object> bindVariablesValues)
Execute query. |
List<ScoredRow> |
execute(org.xcmis.search.model.Query query,
Map<String,Object> bindVariablesValues,
InvocationContext invocationContext)
Execute query. |
void |
start()
|
void |
stop()
|
void |
update(ContentEntry addedEntry,
String removedEntry)
Notify listener about changes in content. |
void |
update(List<ContentEntry> addedEntries,
Set<String> removedEntries)
Notify listener about changes in content with default InvocationContext. |
void |
update(List<ContentEntry> addedEntries,
Set<String> removedEntries,
InvocationContext invocationContext)
Notify listener about changes in content. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final SearchServiceConfiguration configuration
| Constructor Detail |
|---|
public SearchService(SearchServiceConfiguration configuration)
throws SearchServiceException
configuration - SearchServiceConfiguration
SearchServiceException| Method Detail |
|---|
public List<ScoredRow> execute(org.xcmis.search.model.Query query)
throws org.xcmis.search.InvalidQueryException,
QueryExecutionException
execute in interface Searcherquery - Query
InvalidQueryException - , QueryExecutionException
QueryExecutionException
public List<ScoredRow> execute(org.xcmis.search.model.Query query,
Map<String,Object> bindVariablesValues)
throws org.xcmis.search.InvalidQueryException,
QueryExecutionException
execute in interface Searcherquery - QuerybindVariablesValues - MapInvalidQueryException - , QueryExecutionException
QueryExecutionException
public List<ScoredRow> execute(org.xcmis.search.model.Query query,
Map<String,Object> bindVariablesValues,
InvocationContext invocationContext)
throws org.xcmis.search.InvalidQueryException,
QueryExecutionException
Searcher
execute in interface Searcherorg.xcmis.search.InvalidQueryException
QueryExecutionExceptionSearcher.execute(org.xcmis.search.model.Query,
java.util.Map, org.xcmis.search.content.command.InvocationContext)public void start()
start in interface StartableStartable.start()public void stop()
stop in interface StartableStartable.stop()
public void update(ContentEntry addedEntry,
String removedEntry)
throws IndexModificationException
ContentModificationListener
update in interface ContentModificationListeneraddedEntry - - added contentremovedEntry - - removed content
IndexModificationExceptionContentModificationListener.update(org.xcmis.search.content.ContentEntry,
java.lang.String)
public void update(List<ContentEntry> addedEntries,
Set<String> removedEntries)
throws IndexModificationException
ContentModificationListenerInvocationContext.
update in interface ContentModificationListeneraddedEntries - - added contentremovedEntries - - removed content
IndexModificationExceptionContentModificationListener.update(java.util.List,
java.util.Set)
public void update(List<ContentEntry> addedEntries,
Set<String> removedEntries,
InvocationContext invocationContext)
throws IndexModificationException
ContentModificationListener
update in interface ContentModificationListeneraddedEntries - - added contentremovedEntries - - removed content
IndexModificationExceptionContentModificationListener.update(java.util.List,
java.util.Set, org.xcmis.search.content.command.InvocationContext)
protected void addQueryableIndexStorageInterceptor(InterceptorChain interceptorChain)
throws SearchServiceException
ModifyIndexCommand and
ExecuteSelectorCommand
interceptorChain - InterceptorChain
SearchServiceException - if error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||