|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.lucene.LuceneEnvironment.Analyzer
public abstract static class LuceneEnvironment.Analyzer
A set of configuration settings for analyzers.
| Nested Class Summary | |
|---|---|
class |
LuceneEnvironment.Analyzer.CoreTypes
|
class |
LuceneEnvironment.Analyzer.ExtendedTypes
|
class |
LuceneEnvironment.Analyzer.Snowball
|
| Field Summary | |
|---|---|
static String |
DEFAULT_GROUP
The default anayzer group that must be set. |
static String |
FACTORY
The fully qualified name of the anayzer factory. |
static String |
FILTERS
A comma separated list of filter names to be applied to the analyzer. |
static String |
PREFIX
The prefix used for analyzer groups. |
static String |
SEARCH_GROUP
An optional analyzer group name that can be set, will be used when searching. |
static String |
STOPWORDS
A comma separated list of stop words to use with the chosen analyzer. |
static String |
TYPE
The name of the analyzer to use, can be ANALYZER_WHITESPACE, ANALYZER_STANDARD, ANALYZER_SIMPLE, ANALYZER_STOP, a fully qualified class of the analyzer ( LuceneEnvironment.Analyzer or an instnace of it. |
| Constructor Summary | |
|---|---|
LuceneEnvironment.Analyzer()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PREFIX
public static final String DEFAULT_GROUP
public static final String SEARCH_GROUP
public static final String TYPE
LuceneEnvironment.Analyzer or an instnace of it.
It is part of the anaylzer group, and should be constructed using the
CompassSettings.setGroupSettings(String,String,String[],Object[]),
with the PREFIX as the prefix, the analyzer group
name, and the type as one of the values.
public static final String FACTORY
LuceneAnalyzerFactory
inteface.
It is part of the anaylzer group, and should be constructed using the
CompassSettings.setGroupSettings(String,String,String[],Object[]),
with the PREFIX as the prefix, the analyzer group
name, and the type as one of the values.
public static final String STOPWORDS
+, the list of stop-words
will be added to the default set of stop words defined for the
analyzer. Only supported for the default analyzers that comes with
Compass.
It is part of the anaylzer group, and should be
constructed using the
CompassSettings.setGroupSettings(String,String,String[],Object[]),
with the PREFIX as the prefix, the analyzer group
name, and the stopwords as one of the values.
public static final String FILTERS
LuceneAnalyzerTokenFilterProviders
configured using the LuceneEnvironment.AnalyzerFilter configuration settings.
| Constructor Detail |
|---|
public LuceneEnvironment.Analyzer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||