public static interface ConfigurableAnalyzerFactory.AnalyzerOptions
ConfigurableAnalyzerFactory
.
These options are appended to the RFC 4647 language rangeModifier and Type | Field and Description |
---|---|
static String |
ALWAYS_REMOVE_SOFT_HYPHENS
The value of the alwaysRemoveSoftHypens parameter to
TermCompletionAnalyzer.TermCompletionAnalyzer(Pattern, Pattern, Pattern, boolean)
(Note the Pattern.UNICODE_CHARACTER_CLASS flag is enabled). |
static String |
ANALYZER_CLASS
If specified this is the fully qualified name of a subclass of
Analyzer
that has appropriate constructors. |
static boolean |
DEFAULT_ALWAYS_REMOVE_SOFT_HYPHENS |
static Pattern |
DEFAULT_SUB_WORD_BOUNDARY
The default sub-word boundary is a pattern that never matches,
i.e.
|
static String |
LIKE
The value of this property is a language range, for which
an analyzer is defined.
|
static String |
PATTERN
The value of the pattern parameter to
PatternAnalyzer#PatternAnalyzer(Version, Pattern, boolean, Set)
(Note the Pattern.UNICODE_CHARACTER_CLASS flag is enabled). |
static String |
SOFT_HYPHENS
The value of the softHyphens parameter to
TermCompletionAnalyzer.TermCompletionAnalyzer(Pattern, Pattern, Pattern, boolean)
(Note the Pattern.UNICODE_CHARACTER_CLASS flag is enabled). |
static String |
STOPWORDS
The value of this property is one of:
STOPWORDS_VALUE_NONE
This analyzer is used without stop words.
STOPWORDS_VALUE_DEFAULT
Use the default setting for stopwords for this analyzer. |
static String |
STOPWORDS_VALUE_DEFAULT |
static String |
STOPWORDS_VALUE_NONE |
static String |
SUB_WORD_BOUNDARY
The value of the subWordBoundary parameter to
TermCompletionAnalyzer.TermCompletionAnalyzer(Pattern, Pattern, Pattern, boolean)
(Note the Pattern.UNICODE_CHARACTER_CLASS flag is enabled). |
static String |
WORD_BOUNDARY
The value of the wordBoundary parameter to
TermCompletionAnalyzer.TermCompletionAnalyzer(Pattern, Pattern, Pattern, boolean)
(Note the Pattern.UNICODE_CHARACTER_CLASS flag is enabled). |
static final String ANALYZER_CLASS
Analyzer
that has appropriate constructors.
This is set implicitly if some of the options below are selected (for example PATTERN
).
For each configured language range, if it is not set, either explicitly or implicitly, then
LIKE
must be specified.static final String LIKE
LIKE
loops are not permitted.
If this is option is specified for a language range,
then no other option is permitted.static final String STOPWORDS
STOPWORDS_VALUE_NONE
STOPWORDS_VALUE_DEFAULT
SimpleAnalyzer
that do not supprt stop words.
Analyzer
which
has a static method getDefaultStopSet()
, in which case, the returned set of stop words is used.
ANALYZER_CLASS
does not support stop words then any value other than STOPWORDS_VALUE_NONE
is an error.
If the ANALYZER_CLASS
does support stop words then the default value is STOPWORDS_VALUE_DEFAULT
static final String STOPWORDS_VALUE_DEFAULT
static final String STOPWORDS_VALUE_NONE
static final String PATTERN
PatternAnalyzer#PatternAnalyzer(Version, Pattern, boolean, Set)
(Note the Pattern.UNICODE_CHARACTER_CLASS
flag is enabled).
It is an error if a different analyzer class is specified.static final String WORD_BOUNDARY
TermCompletionAnalyzer.TermCompletionAnalyzer(Pattern, Pattern, Pattern, boolean)
(Note the Pattern.UNICODE_CHARACTER_CLASS
flag is enabled).
It is an error if a different analyzer class is specified.static final String SUB_WORD_BOUNDARY
TermCompletionAnalyzer.TermCompletionAnalyzer(Pattern, Pattern, Pattern, boolean)
(Note the Pattern.UNICODE_CHARACTER_CLASS
flag is enabled).
It is an error if a different analyzer class is specified.static final String SOFT_HYPHENS
TermCompletionAnalyzer.TermCompletionAnalyzer(Pattern, Pattern, Pattern, boolean)
(Note the Pattern.UNICODE_CHARACTER_CLASS
flag is enabled).
It is an error if a different analyzer class is specified.static final String ALWAYS_REMOVE_SOFT_HYPHENS
TermCompletionAnalyzer.TermCompletionAnalyzer(Pattern, Pattern, Pattern, boolean)
(Note the Pattern.UNICODE_CHARACTER_CLASS
flag is enabled).
It is an error if a different analyzer class is specified.static final boolean DEFAULT_ALWAYS_REMOVE_SOFT_HYPHENS
static final Pattern DEFAULT_SUB_WORD_BOUNDARY
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.