Class LuceneFormSearchIndexer
java.lang.Object
fr.paris.lutece.plugins.forms.service.search.LuceneFormSearchIndexer
- All Implemented Interfaces:
IFormSearchIndexer
Forms global indexer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIndexerAction(int nIdFormResponse, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Add Indexer Action to perform on a form responseLaunch full IndexingLaunch incremental IndexingvoidindexDocument(int nIdFormResponse, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Directly index one documentbooleanreturn true if the indexer is initializedvoidprocess the incremental indexing
-
Field Details
-
BEAN_SERVICE
- See Also:
-
-
Constructor Details
-
LuceneFormSearchIndexer
Constructor- Parameters:
lockManager- The LockManager
-
-
Method Details
-
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:
addIndexerActionin interfaceIFormSearchIndexer- Parameters:
nIdFormResponse- the id of the formResponsenIdTask- the key of the action to doplugin- the plugin
-
fullIndexing
Launch full Indexing- Specified by:
fullIndexingin interfaceIFormSearchIndexer- Returns:
- String trace
-
incrementalIndexing
Launch incremental Indexing- Specified by:
incrementalIndexingin interfaceIFormSearchIndexer- Returns:
- String trace
-
indexDocument
public void indexDocument(int nIdFormResponse, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Directly index one document- Specified by:
indexDocumentin interfaceIFormSearchIndexer
-
processIndexing
public void processIndexing()process the incremental indexing -
isIndexerInitialized
public boolean isIndexerInitialized()return true if the indexer is initialized- Specified by:
isIndexerInitializedin interfaceIFormSearchIndexer- Returns:
- true if the indexer is initialized
-