|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.indexer.IndexerFactoryBase
public abstract class IndexerFactoryBase
Factory for indexer-related classes.
| Constructor Summary | |
|---|---|
IndexerFactoryBase()
|
|
| Method Summary | |
|---|---|
abstract IIndexer |
createIndexer(java.util.Properties properties)
Create an indexer for the given properties |
abstract IQuery |
createQuery(java.util.Properties properties)
Create an IQuery for the given properties |
abstract IQuery |
createQueryFromDefaultFieldAndText(java.lang.String defaultField,
java.lang.String text)
Return IQuery for the given default field and text |
abstract ISearch |
createSearch(java.util.Properties properties)
Create an ISearch object for the given properties |
abstract ISearch |
createSearchFromLocation(java.lang.String location)
Create an ISearch object from the given location |
static IndexerFactoryBase |
getFactory(java.util.Properties properties)
Returns a factory object. |
static IndexerFactoryBase |
getFactory(java.lang.String factoryClassName)
Returns a factory object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexerFactoryBase()
| Method Detail |
|---|
public static IndexerFactoryBase getFactory(java.util.Properties properties)
throws IndexerException
properties - Expected to contain the IndexerProperties.KEY_INDEXER_FACTORY_CLASS property, which is the name of the
factory class to instantiate.
IndexerException
public static IndexerFactoryBase getFactory(java.lang.String factoryClassName)
throws IndexerException
factoryClassName - Name of the factory class to instantiate.
IndexerException
public abstract IIndexer createIndexer(java.util.Properties properties)
throws IndexerException
properties - configuration properties for creating indexer
IndexerException
public abstract ISearch createSearch(java.util.Properties properties)
throws IndexerException
properties - configuration properties
IndexerException
public abstract ISearch createSearchFromLocation(java.lang.String location)
throws IndexerException
location - location of properties
IndexerException
public abstract IQuery createQuery(java.util.Properties properties)
throws IndexerException
properties - configuration properties
IndexerException
public abstract IQuery createQueryFromDefaultFieldAndText(java.lang.String defaultField,
java.lang.String text)
throws IndexerException
defaultField - This parameter specifies the default field for the query to take place over (When items are inserted into the
index, they usually have one or more fields associated with them).text - Query text to search for.
IndexerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||