public final class BlogSearchService extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addIndexerAction(int nIdBlog,
int nIdTask)
Add Indexer Action to perform on a record
|
List<IndexerAction> |
getAllIndexerActionByTask(int nIdTask)
return a list of IndexerAction by task key
|
static BlogSearchService |
getInstance()
Get the HelpdeskSearchService instance
|
int |
getSearchResults(BlogSearchFilter filter,
List<Integer> listIdBlog)
Return search results
|
String |
processIndexing(boolean bCreate)
Process indexing
|
void |
removeIndexerAction(int nIdAction)
Remove a Indexer Action
|
public static BlogSearchService getInstance()
BlogSearchServicepublic int getSearchResults(BlogSearchFilter filter, List<Integer> listIdBlog)
filter - The search filterlistIdBlog - Results as a collection of id of blog postspublic String processIndexing(boolean bCreate)
bCreate - true for start full indexing false for begin incremental indexingpublic void addIndexerAction(int nIdBlog,
int nIdTask)
nIdBlog - Blog idnIdTask - the key of the action to dopublic void removeIndexerAction(int nIdAction)
nIdAction - the key of the action to removepublic List<IndexerAction> getAllIndexerActionByTask(int nIdTask)
nIdTask - the task keyCopyright © 2023 City of Paris. All rights reserved.