|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.indexer.IndexerFactoryBase
org.openanzo.indexer.lucene.LuceneIndexerFactory
public class LuceneIndexerFactory
Factory for the simple Lucene-based indexer.
| Constructor Summary | |
|---|---|
LuceneIndexerFactory()
|
|
| Method Summary | |
|---|---|
IIndexer |
createIndexer(java.util.Properties properties)
Create an indexer for the given properties |
IQuery |
createQuery(java.util.Properties properties)
Create an IQuery for the given properties |
IQuery |
createQueryFromDefaultFieldAndText(java.lang.String field,
java.lang.String text)
Return IQuery for the given default field and text |
ISearch |
createSearch(java.util.Properties properties)
Create an ISearch object for the given properties |
ISearch |
createSearchFromLocation(java.lang.String location)
Create an ISearch object from the given location |
| Methods inherited from class org.openanzo.indexer.IndexerFactoryBase |
|---|
getFactory, getFactory |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LuceneIndexerFactory()
| Method Detail |
|---|
public IIndexer createIndexer(java.util.Properties properties)
throws IndexerException
IndexerFactoryBase
createIndexer in class IndexerFactoryBaseproperties - configuration properties for creating indexer
IndexerException
public IQuery createQuery(java.util.Properties properties)
throws IndexerException
IndexerFactoryBase
createQuery in class IndexerFactoryBaseproperties - configuration properties
IndexerException
public IQuery createQueryFromDefaultFieldAndText(java.lang.String field,
java.lang.String text)
throws IndexerException
IndexerFactoryBase
createQueryFromDefaultFieldAndText in class IndexerFactoryBasefield - 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
public ISearch createSearch(java.util.Properties properties)
throws IndexerException
IndexerFactoryBase
createSearch in class IndexerFactoryBaseproperties - configuration properties
IndexerException
public ISearch createSearchFromLocation(java.lang.String location)
throws IndexerException
IndexerFactoryBase
createSearchFromLocation in class IndexerFactoryBaselocation - location of properties
IndexerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||