org.xcmis.search.config
Class IndexConfiguration

java.lang.Object
  extended by org.xcmis.search.config.IndexConfiguration

public class IndexConfiguration
extends Object

Search service index configuration


Field Summary
static String DEFAULT_QUERYABLEINDEXSTORAGE
          Default implementation of QueryableIndexStorage.
 
Constructor Summary
IndexConfiguration(String rootUuid)
          In memory index storage with default Tika configuration
IndexConfiguration(String rootParentUuid, String rootUuid)
          In memory index storage with default Tika configuration
IndexConfiguration(String indexDir, String rootParentUuid, String rootUuid)
           
IndexConfiguration(String indexDir, String rootParentUuid, String rootUuid, String queryableIndexStorage, org.apache.tika.config.TikaConfig tikaConfiguration)
           
 
Method Summary
 String getIndexDir()
           
 String getQueryableIndexStorage()
           
 String getRootParentUuid()
           
 String getRootUuid()
           
 org.apache.tika.config.TikaConfig getTikaConfiguration()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_QUERYABLEINDEXSTORAGE

public static final String DEFAULT_QUERYABLEINDEXSTORAGE
Default implementation of QueryableIndexStorage.

See Also:
Constant Field Values
Constructor Detail

IndexConfiguration

public IndexConfiguration(String rootUuid)
                   throws IndexConfigurationException,
                          org.apache.tika.mime.MimeTypeException,
                          IOException,
                          org.apache.tika.exception.TikaException
In memory index storage with default Tika configuration

Parameters:
rootParentUuid -
rootUuid -
Throws:
IndexConfigurationException
org.apache.tika.mime.MimeTypeException
IOException
org.apache.tika.exception.TikaException

IndexConfiguration

public IndexConfiguration(String rootParentUuid,
                          String rootUuid)
                   throws IndexConfigurationException,
                          org.apache.tika.mime.MimeTypeException,
                          IOException,
                          org.apache.tika.exception.TikaException
In memory index storage with default Tika configuration

Parameters:
rootParentUuid -
rootUuid -
Throws:
IndexConfigurationException
org.apache.tika.mime.MimeTypeException
IOException
org.apache.tika.exception.TikaException

IndexConfiguration

public IndexConfiguration(String indexDir,
                          String rootParentUuid,
                          String rootUuid)
                   throws IndexConfigurationException,
                          org.apache.tika.mime.MimeTypeException,
                          IOException,
                          org.apache.tika.exception.TikaException
Throws:
IndexConfigurationException
org.apache.tika.mime.MimeTypeException
IOException
org.apache.tika.exception.TikaException

IndexConfiguration

public IndexConfiguration(String indexDir,
                          String rootParentUuid,
                          String rootUuid,
                          String queryableIndexStorage,
                          org.apache.tika.config.TikaConfig tikaConfiguration)
                   throws IndexConfigurationException,
                          org.apache.tika.mime.MimeTypeException,
                          IOException,
                          org.apache.tika.exception.TikaException
Throws:
IndexConfigurationException
org.apache.tika.mime.MimeTypeException
IOException
org.apache.tika.exception.TikaException
Method Detail

getIndexDir

public String getIndexDir()
Returns:
the indexDir

getQueryableIndexStorage

public String getQueryableIndexStorage()
Returns:
the queryableIndexStorage

getRootParentUuid

public String getRootParentUuid()
Returns:
the rootParentUuid

getRootUuid

public String getRootUuid()
Returns:
the rootUuid

getTikaConfiguration

public org.apache.tika.config.TikaConfig getTikaConfiguration()
Returns:
the tikaConfiguration


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.