public class LuceneFormSearchIndexer extends Object implements IFormSearchIndexer
| Modifier and Type | Field and Description |
|---|---|
static String |
INDEXER_NAME |
| Constructor and Description |
|---|
LuceneFormSearchIndexer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addIndexerAction(int nIdFormResponse,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Add Indexer Action to perform on a form response
|
String |
getDescription() |
List<org.apache.lucene.document.Document> |
getDocuments(String formResponseId) |
List<String> |
getListType() |
String |
getName() |
String |
getSpecificSearchAppUrl() |
String |
getVersion() |
void |
indexDocument(int nIdFormResponse,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Directly index one document
|
void |
indexDocuments() |
boolean |
isEnable() |
void |
processIndexing()
add to the index writer the document associate to the key specified in parameter
|
public static final String INDEXER_NAME
public String getName()
getName in interface fr.paris.lutece.portal.service.search.SearchIndexerpublic String getDescription()
getDescription in interface fr.paris.lutece.portal.service.search.SearchIndexerpublic String getVersion()
getVersion in interface fr.paris.lutece.portal.service.search.SearchIndexerpublic boolean isEnable()
isEnable in interface fr.paris.lutece.portal.service.search.SearchIndexerpublic List<String> getListType()
getListType in interface fr.paris.lutece.portal.service.search.SearchIndexerpublic String getSpecificSearchAppUrl()
getSpecificSearchAppUrl in interface fr.paris.lutece.portal.service.search.SearchIndexerpublic void addIndexerAction(int nIdFormResponse,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
addIndexerAction in interface IFormSearchIndexernIdFormResponse - the id of the formResponsenIdTask - the key of the action to doplugin - the pluginpublic void indexDocuments()
throws IOException,
InterruptedException,
fr.paris.lutece.portal.service.message.SiteMessageException
indexDocuments in interface fr.paris.lutece.portal.service.search.SearchIndexerIOExceptionInterruptedExceptionfr.paris.lutece.portal.service.message.SiteMessageExceptionpublic void indexDocument(int nIdFormResponse,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
indexDocument in interface IFormSearchIndexerpublic void processIndexing()
processIndexing in interface IFormSearchIndexerpublic List<org.apache.lucene.document.Document> getDocuments(String formResponseId) throws IOException, InterruptedException, fr.paris.lutece.portal.service.message.SiteMessageException
getDocuments in interface fr.paris.lutece.portal.service.search.SearchIndexerIOExceptionInterruptedExceptionfr.paris.lutece.portal.service.message.SiteMessageExceptionCopyright © 2021 City of Paris. All rights reserved.