Class BlogSearchService
java.lang.Object
fr.paris.lutece.plugins.blog.service.docsearch.BlogSearchService
Blog Search Service
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddIndexerAction(int nIdBlog, int nIdTask) Add Indexer Action to perform on a recordgetAllIndexerActionByTask(int nIdTask) return a list of IndexerAction by task keystatic BlogSearchServiceGet the HelpdeskSearchService instanceintgetSearchResults(BlogSearchFilter filter, List<Integer> listIdBlog) Return search resultsprocessIndexing(boolean bCreate) Process indexingvoidremoveIndexerAction(int nIdAction) Remove a Indexer ActionvoidupdateDocument(Blog blog)
-
Method Details
-
getInstance
Get the HelpdeskSearchService instance- Returns:
- The
BlogSearchService
-
getSearchResults
Return search results- Parameters:
filter- The search filterlistIdBlog- Results as a collection of id of blog posts- Returns:
- The total number of items found
-
processIndexing
Process indexing- Parameters:
bCreate- true for start full indexing false for begin incremental indexing- Returns:
- the log
-
updateDocument
-
addIndexerAction
public void addIndexerAction(int nIdBlog, int nIdTask) Add Indexer Action to perform on a record- Parameters:
nIdBlog- Blog idnIdTask- the key of the action to do
-
removeIndexerAction
public void removeIndexerAction(int nIdAction) Remove a Indexer Action- Parameters:
nIdAction- the key of the action to remove
-
getAllIndexerActionByTask
return a list of IndexerAction by task key- Parameters:
nIdTask- the task key- Returns:
- a list of IndexerAction
-