Class LuceneFormSearchIndexer

    • Constructor Detail

      • LuceneFormSearchIndexer

        @Inject
        public LuceneFormSearchIndexer​(LuceneLockManager lockManager)
        Constructor
        Parameters:
        lockManager - The LockManager
    • Method Detail

      • addIndexerAction

        public void addIndexerAction​(int nIdFormResponse,
                                     int nIdTask,
                                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Add Indexer Action to perform on a form response
        Specified by:
        addIndexerAction in interface IFormSearchIndexer
        Parameters:
        nIdFormResponse - the id of the formResponse
        nIdTask - the key of the action to do
        plugin - the plugin
      • indexDocument

        public void indexDocument​(int nIdFormResponse,
                                  int nIdTask,
                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Directly index one document
        Specified by:
        indexDocument in interface IFormSearchIndexer
      • processIndexing

        public void processIndexing()
        process the incremental indexing
      • isIndexerInitialized

        public boolean isIndexerInitialized()
        return true if the indexer is initialized
        Specified by:
        isIndexerInitialized in interface IFormSearchIndexer
        Returns:
        true if the indexer is initialized