fr.paris.lutece.portal.service.search
Class PageIndexer

java.lang.Object
  extended by fr.paris.lutece.portal.service.search.PageIndexer
All Implemented Interfaces:
SearchIndexer

public class PageIndexer
extends java.lang.Object
implements SearchIndexer

Indexer service for pages


Constructor Summary
PageIndexer()
           
 
Method Summary
 java.lang.String getDescription()
          Returns the indexer service description
 java.util.List<org.apache.lucene.document.Document> getDocuments()
          Returns a list 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

PageIndexer

public PageIndexer()
Method Detail

getDocuments

public java.util.List<org.apache.lucene.document.Document> getDocuments()
                                                                 throws java.io.IOException,
                                                                        java.lang.InterruptedException
Returns a list of lucene documents to add to the index

Specified by:
getDocuments in interface SearchIndexer
Returns:
A list of lucene documents to add to the index
Throws:
java.io.IOException
java.lang.InterruptedException

getName

public java.lang.String getName()
Returns the indexer service name

Specified by:
getName in interface SearchIndexer
Returns:
the indexer service name

getVersion

public java.lang.String getVersion()
Returns the indexer service version

Specified by:
getVersion in interface SearchIndexer
Returns:
The indexer service version

getDescription

public java.lang.String getDescription()
Returns the indexer service description

Specified by:
getDescription in interface SearchIndexer
Returns:
The indexer service description

isEnable

public boolean isEnable()
Tells whether the service is enable or not

Specified by:
isEnable in interface SearchIndexer
Returns:
true if enable, otherwise false


Copyright © 2007 Mairie de Paris. All Rights Reserved.