Class BlogSearchService

java.lang.Object
fr.paris.lutece.plugins.blog.service.docsearch.BlogSearchService

public final class BlogSearchService extends Object
Blog Search Service
  • Method Details

    • getInstance

      public static BlogSearchService getInstance()
      Get the HelpdeskSearchService instance
      Returns:
      The BlogSearchService
    • getSearchResults

      public int getSearchResults(BlogSearchFilter filter, List<Integer> listIdBlog)
      Return search results
      Parameters:
      filter - The search filter
      listIdBlog - Results as a collection of id of blog posts
      Returns:
      The total number of items found
    • processIndexing

      public String processIndexing(boolean bCreate)
      Process indexing
      Parameters:
      bCreate - true for start full indexing false for begin incremental indexing
      Returns:
      the log
    • updateDocument

      public void updateDocument(Blog blog)
    • addIndexerAction

      public void addIndexerAction(int nIdBlog, int nIdTask)
      Add Indexer Action to perform on a record
      Parameters:
      nIdBlog - Blog id
      nIdTask - 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

      public List<IndexerAction> getAllIndexerActionByTask(int nIdTask)
      return a list of IndexerAction by task key
      Parameters:
      nIdTask - the task key
      Returns:
      a list of IndexerAction