|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.lucene.LuceneResourceFactory
public class LuceneResourceFactory
| Constructor Summary | |
|---|---|
LuceneResourceFactory(LuceneSearchEngineFactory searchEngineFactory)
|
|
| Method Summary | |
|---|---|
Property |
createProperty(String name,
byte[] value,
Property.Store store)
Creates a binary property. |
Property |
createProperty(String name,
Reader value)
Creates a property (TEXT type) for the specified reader. |
Property |
createProperty(String name,
Reader value,
Property.TermVector termVector)
Creates a property (indexed, and not stored) for the specified reader. |
Property |
createProperty(String value,
ResourcePropertyMapping mapping)
Creates a Property that is used with the actual Search Engine |
Property |
createProperty(String value,
ResourcePropertyMapping mapping,
Property.Store store,
Property.Index index)
|
Property |
createProperty(String name,
String value,
Property.Store store,
Property.Index index)
Creates a Property that is used with the actual Search Engine |
Property |
createProperty(String name,
String value,
Property.Store store,
Property.Index index,
Property.TermVector termVector)
Creates a Property that is used with the actual Search Engine. |
Property |
createProperty(String name,
String value,
ResourcePropertyConverter converter)
Creates a property based on the converter, using the suggested values the converter has for index, store and so on. |
Property |
createProperty(String name,
String value,
ResourcePropertyMapping mapping)
Creates a Property that is used with the actual Search Engine |
Property |
createProperty(String name,
String value,
ResourcePropertyMapping mapping,
Property.Store store,
Property.Index index)
|
Property |
createProperty(String name,
TokenStream tokenStream,
Property.TermVector termVector)
|
Resource |
createResource(String alias)
Creates a resource, that is used with the actual Search Engine implementation. |
String |
getNullValue()
Returns a null value that represents no entry in the search engine. |
boolean |
isNullValue(String value)
Returns true if the value is marked as a null value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LuceneResourceFactory(LuceneSearchEngineFactory searchEngineFactory)
| Method Detail |
|---|
public String getNullValue()
ResourceFactory
getNullValue in interface ResourceFactorypublic boolean isNullValue(String value)
ResourceFactory
isNullValue in interface ResourceFactory
public Resource createResource(String alias)
throws SearchEngineException
ResourceFactory
createResource in interface ResourceFactorySearchEngineException
public Property createProperty(String value,
ResourcePropertyMapping mapping)
throws SearchEngineException
ResourceFactory
createProperty in interface ResourceFactorySearchEngineException
public Property createProperty(String value,
ResourcePropertyMapping mapping,
Property.Store store,
Property.Index index)
throws SearchEngineException
createProperty in interface ResourceFactorySearchEngineException
public Property createProperty(String name,
String value,
ResourcePropertyMapping mapping)
throws SearchEngineException
ResourceFactory
createProperty in interface ResourceFactorySearchEngineException
public Property createProperty(String name,
String value,
ResourcePropertyConverter converter)
ResourceFactory
createProperty in interface ResourceFactory
public Property createProperty(String name,
String value,
ResourcePropertyMapping mapping,
Property.Store store,
Property.Index index)
throws SearchEngineException
SearchEngineException
public Property createProperty(String name,
String value,
Property.Store store,
Property.Index index)
throws SearchEngineException
ResourceFactory
createProperty in interface ResourceFactorySearchEngineException
public Property createProperty(String name,
String value,
Property.Store store,
Property.Index index,
Property.TermVector termVector)
throws SearchEngineException
ResourceFactory
createProperty in interface ResourceFactorySearchEngineException
public Property createProperty(String name,
TokenStream tokenStream,
Property.TermVector termVector)
public Property createProperty(String name,
Reader value)
ResourceFactory
createProperty in interface ResourceFactory
public Property createProperty(String name,
byte[] value,
Property.Store store)
throws SearchEngineException
ResourceFactory
createProperty in interface ResourceFactorySearchEngineException
public Property createProperty(String name,
Reader value,
Property.TermVector termVector)
ResourceFactory
createProperty in interface ResourceFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||