|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.document.service.search.DocumentIndexer
public class DocumentIndexer
Document Indexer
Constructor Summary | |
---|---|
DocumentIndexer()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns the indexer service description |
static org.apache.lucene.document.Document |
getDocument(Document document,
java.lang.String strUrl,
java.lang.String strRole)
Builds a document which will be used by Lucene during the indexing of the pages of the site with the following fields : summary, uid, url, contents, title and description. |
java.util.List<org.apache.lucene.document.Document> |
getDocuments()
Returns a collection of lucene documents to add to the index |
java.lang.String |
getName()
Returns the indexer service name |
java.lang.String |
getVersion()
Returns the indexer service version |
boolean |
isEnable()
Tells whether the service is enable or not |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentIndexer()
Method Detail |
---|
public java.util.List<org.apache.lucene.document.Document> getDocuments() throws java.io.IOException, java.lang.InterruptedException
getDocuments
in interface fr.paris.lutece.portal.service.search.SearchIndexer
java.io.IOException
java.lang.InterruptedException
public java.lang.String getName()
getName
in interface fr.paris.lutece.portal.service.search.SearchIndexer
public java.lang.String getVersion()
getVersion
in interface fr.paris.lutece.portal.service.search.SearchIndexer
public java.lang.String getDescription()
getDescription
in interface fr.paris.lutece.portal.service.search.SearchIndexer
public boolean isEnable()
isEnable
in interface fr.paris.lutece.portal.service.search.SearchIndexer
public static org.apache.lucene.document.Document getDocument(Document document, java.lang.String strUrl, java.lang.String strRole) throws java.io.IOException, java.lang.InterruptedException
page
- the page to indexstrUrl
- the url of the documentsstrRole
- the lutece role of the page associate to the document
java.io.IOException
- The IO Exception
java.lang.InterruptedException
- The InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |