|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.jcr.service.search.IndexerNodeAction
public class IndexerNodeAction
Implementation of INodeAction for indexing the nodes of a JCR It stores results using TreeSet and specific Comparator
Constructor Summary | |
---|---|
IndexerNodeAction(Comparator<org.apache.lucene.document.Document> nodeComparator,
String strPluginName,
AdminWorkspace adminWorkspace,
String strRole)
Default constructor |
Method Summary | |
---|---|
Collection<org.apache.lucene.document.Document> |
createCollection()
Creates the resulting collection |
org.apache.lucene.document.Document |
doAction(IRepositoryFile file)
Creates a lucene Document using the JCR file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexerNodeAction(Comparator<org.apache.lucene.document.Document> nodeComparator, String strPluginName, AdminWorkspace adminWorkspace, String strRole)
nodeComparator
- the comparator used to store the results in the collectionstrPluginName
- the plugin name to retrieve Spring contextadminWorkspace
- the adminWorkspace to work onMethod Detail |
---|
public Collection<org.apache.lucene.document.Document> createCollection()
INodeAction
createCollection
in interface INodeAction<org.apache.lucene.document.Document,Collection<org.apache.lucene.document.Document>>
INodeAction.createCollection()
public org.apache.lucene.document.Document doAction(IRepositoryFile file)
doAction
in interface INodeAction<org.apache.lucene.document.Document,Collection<org.apache.lucene.document.Document>>
file
- the file to index
INodeAction.doAction(fr.paris.lutece.plugins.jcr.business.IRepositoryFile)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |