AssetContentQueryParser Properties |
The AssetContentQueryParser type exposes the following members.
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.) |