AssetContentQueryParser Class |
Namespace: Ingeniux.CMS.Assets.Search
The AssetContentQueryParser type exposes the following members.
Name | Description | |
---|---|---|
AssetContentQueryParser | Initializes a new instance of the AssetContentQueryParser class |
Name | Description | |
---|---|---|
AllowLeadingWildcard | Set to true to allow leading wildcard characters.
When set, * or ? are allowed as
the first character of a PrefixQuery and WildcardQuery.
Note that this can produce very slow
queries on big indexes.
Default: false.
(Inherited from QueryParser.) | |
Analyzer | (Inherited from QueryParser.) | |
DefaultOperator | Gets or sets the boolean operator of the QueryParser.
In default mode (OR_OPERATOR) terms without any modifiers
are considered optional: for example capital of Hungary is equal to
capital OR of OR Hungary. (Inherited from QueryParser.)In AND_OPERATOR mode terms are considered to be in conjunction: the above mentioned query is parsed as capital AND of AND Hungary | |
EnablePositionIncrements | Set to true to enable position increments in result query.
When set, result phrase and multi-phrase queries will
be aware of position increments.
Useful when e.g. a StopFilter increases the position increment of
the token that follows an omitted token.
Default: false.
(Inherited from QueryParser.) | |
Field | (Inherited from QueryParser.) | |
FuzzyMinSim |
Gets or sets the minimal similarity for fuzzy queries.
Default is 0.5f.
(Inherited from QueryParser.) | |
FuzzyPrefixLength | Gets or sets the prefix length for fuzzy queries. (Inherited from QueryParser.) | |
Locale | Gets or sets locale used by date range parsing. (Inherited from QueryParser.) | |
LowercaseExpandedTerms | Whether terms of wildcard, prefix, fuzzy and range queries are to be automatically
lower-cased or not. Default is true.
(Inherited from QueryParser.) | |
MultiTermRewriteMethod | By default QueryParser uses CONSTANT_SCORE_AUTO_REWRITE_DEFAULT
when creating a PrefixQuery, WildcardQuery or RangeQuery. This implementation is generally preferable because it
a) Runs faster b) Does not have the scarcity of terms unduly influence score
c) avoids any "TooManyBooleanClauses" exception.
However, if your application really needs to use the
old-fashioned BooleanQuery expansion rewriting and the above
points are not relevant then use this to change
the rewrite method.
(Inherited from QueryParser.) | |
PhraseSlop | Gets or sets the default slop for phrases. If zero, then exact phrase matches
are required. Default value is zero.
(Inherited from QueryParser.) | |
RangeCollator | Gets or sets the collator used to determine index term inclusion in ranges
for RangeQuerys.
WARNING: Setting the rangeCollator to a non-null
collator using this method will cause every single index Term in the
Field referenced by lowerTerm and/or upperTerm to be examined.
Depending on the number of index Terms in this Field, the operation could
be very slow.
(Inherited from QueryParser.) |
Name | Description | |
---|---|---|
Clause | (Inherited from QueryParser.) | |
Conjunction | (Inherited from QueryParser.) | |
Disable_tracing | Disable tracing. (Inherited from QueryParser.) | |
Enable_tracing | Enable tracing. (Inherited from QueryParser.) | |
GenerateParseException | Generate ParseException. (Inherited from QueryParser.) | |
GetCJKChars | ||
getDateResolution | Returns the date resolution that is used by RangeQueries for the given field.
Returns null, if no default or field specific date resolution has been set
for the given field.
(Inherited from QueryParser.) | |
GetNextToken | Get the next Token. (Inherited from QueryParser.) | |
getToken | Get the specific Token. (Inherited from QueryParser.) | |
IsCJKTerm | ||
Modifiers | (Inherited from QueryParser.) | |
Parse |
Parses original query using the standard Lucene QueryParser. Synonmys defined in the configuration
are applied to the resulting query.
(Overrides QueryParser.Parse(String).) | |
Query | (Inherited from QueryParser.) | |
ReInit(ICharStream) | Reinitialise. (Inherited from QueryParser.) | |
ReInit(QueryParserTokenManager) | Reinitialise. (Inherited from QueryParser.) | |
SetDateResolution(Resolution) | Sets the default date resolution used by RangeQueries for fields for which no
specific date resolutions has been set. Field specific resolutions can be set
with {@link #SetDateResolution(String, DateTools.Resolution)}.
(Inherited from QueryParser.) | |
SetDateResolution(String, Resolution) | Sets the date resolution used by RangeQueries for a specific field.
(Inherited from QueryParser.) | |
Term | (Inherited from QueryParser.) | |
TopLevelQuery | (Inherited from QueryParser.) | |
WildcardQuery |
Name | Description | |
---|---|---|
jj_nt | (Inherited from QueryParser.) | |
token | (Inherited from QueryParser.) | |
token_source | (Inherited from QueryParser.) |