|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.search.IndexationService
public final class IndexationService
This class provides management methods for indexing
Field Summary | |
---|---|
static java.lang.String |
PARAM_FORCING
|
static java.lang.String |
PATH_INDEX
|
Method Summary | |
---|---|
static org.apache.lucene.analysis.Analyzer |
getAnalyser()
Gets the current analyser |
static java.lang.String |
getIndex()
Gets the current index |
static java.util.Collection<SearchIndexer> |
getIndexers()
Returns all search indexers |
static void |
init()
Initalizes the service |
static java.lang.String |
processIndexing(boolean bCreate)
Process the indexing |
static void |
registerIndexer(SearchIndexer indexer)
Register an indexer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PATH_INDEX
public static final java.lang.String PARAM_FORCING
Method Detail |
---|
public static void init() throws LuteceInitException
LuteceInitException
- If an error occuredpublic static java.lang.String processIndexing(boolean bCreate)
bCreate
- Force creating the index
public static void registerIndexer(SearchIndexer indexer)
indexer
- The indexer to add to the registrypublic static java.lang.String getIndex()
public static org.apache.lucene.analysis.Analyzer getAnalyser()
public static java.util.Collection<SearchIndexer> getIndexers()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |