org.activemath.omdocjdom.index
Class IndexRunner

java.lang.Object
  extended by org.activemath.omdocjdom.index.IndexRunner
All Implemented Interfaces:
IndexConstants

public class IndexRunner
extends Object
implements IndexConstants


Field Summary
 
Fields inherited from interface org.activemath.omdocjdom.index.IndexConstants
FIELDNAME_id, FIELDNAME_metadata, FIELDNAME_type, LANG_ALL, LANG_UNIVERSAL, SUBFIELDNAME_field, SUBFIELDNAME_learningContext
 
Constructor Summary
IndexRunner()
           
 
Method Summary
static org.apache.lucene.document.Document buildDocumentFromId(MBaseID id, ContentExtractor extractor, IndexStatistics statistics, List<String> supportedLanguages, boolean shouldPhonetic)
           
static String getIndexStatistics(File path)
           
 void setIndexStatistics(IndexStatistics sta)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexRunner

public IndexRunner()
Method Detail

getIndexStatistics

public static String getIndexStatistics(File path)

setIndexStatistics

public void setIndexStatistics(IndexStatistics sta)

buildDocumentFromId

public static org.apache.lucene.document.Document buildDocumentFromId(MBaseID id,
                                                                      ContentExtractor extractor,
                                                                      IndexStatistics statistics,
                                                                      List<String> supportedLanguages,
                                                                      boolean shouldPhonetic)
                                                               throws MBaseException,
                                                                      IOException
Throws:
MBaseException
IOException