Class DefaultDocSearchIndexer
java.lang.Object
fr.paris.lutece.plugins.document.service.docsearch.DefaultDocSearchIndexer
- All Implemented Interfaces:
IDocSearchIndexer
@ApplicationScoped
@Named("document.DefaultDocSearchIndexer")
public class DefaultDocSearchIndexer
extends Object
implements IDocSearchIndexer
DefaultDocSearchIndexer
When the DocSearchIndexerDaemon is run, each document is indexed.
When the application is started, DocSearchIndexerDaemon is launched."
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.lucene.document.Document>getDocuments(Collection<Integer> listDocumentIds) Build Lucene docs to index
-
Constructor Details
-
DefaultDocSearchIndexer
public DefaultDocSearchIndexer()
-
-
Method Details
-
getDocuments
public List<org.apache.lucene.document.Document> getDocuments(Collection<Integer> listDocumentIds) throws IOException Build Lucene docs to index- Specified by:
getDocumentsin interfaceIDocSearchIndexer- Parameters:
listDocumentIds- Documents to index- Returns:
- A list of Lucene documents
- Throws:
IOException- i/o exception
-