Méthode | Description | |
---|---|---|
AllowLeadingWildcard ( bool allowLeadingWildcard ) : |
Should leading wildcards be allowed or not. Defaults to true.
|
|
AnalyzeWildcard ( bool analyzeWildcard ) : |
Set to true to enable analysis on wildcard and prefix queries.
|
|
Analyzer ( string analyzer ) : |
The optional analyzer used to analyze the query string. Note, if a field has search analyzer defined for it, then it will be used automatically. Defaults to the smart search analyzer.
|
|
AutoGeneratePhraseQueries ( bool autoGeneratePhraseQueries ) : void |
Set to true if phrase queries will be automatically generated when the analyzer returns more than one term from whitespace delimited text. NOTE: this behavior may not be suitable for all languages. Set to false if phrase queries should only be generated when surrounded by double quotes.
|
|
Boost ( float boost ) : |
Sets the boost for this query. Documents matching this query will (in addition to the normal weightings) have their score multiplied by the boost provided.
|
|
DefaultOperator ( Operator defaultOperator ) : |
Sets the boolean operator of the query parser used to parse the query string. In default mode ({@link FieldQueryBuilder.Operator#OR}) terms without any modifiers are considered optional: for example In {@link FieldQueryBuilder.Operator#AND} mode terms are considered to be in conjunction: the above mentioned query is parsed as
|
|
EnablePositionIncrements ( bool enablePositionIncrements ) : |
||
FieldQueryBuilder ( string name, bool query ) : System |
A query that executes the query string against a field. It is a simplified version of {@link QueryStringQueryBuilder} that simply runs against a single field.
|
|
FieldQueryBuilder ( string name, double query ) : System |
A query that executes the query string against a field. It is a simplified version of {@link QueryStringQueryBuilder} that simply runs against a single field.
|
|
FieldQueryBuilder ( string name, float query ) : System |
A query that executes the query string against a field. It is a simplified version of {@link QueryStringQueryBuilder} that simply runs against a single field.
|
|
FieldQueryBuilder ( string name, int query ) : System |
A query that executes the query string against a field. It is a simplified version of {@link QueryStringQueryBuilder} that simply runs against a single field.
|
|
FieldQueryBuilder ( string name, long query ) : System |
A query that executes the query string against a field. It is a simplified version of {@link QueryStringQueryBuilder} that simply runs against a single field.
|
|
FieldQueryBuilder ( string name, object query ) : System |
A query that executes the query string against a field. It is a simplified version of {@link QueryStringQueryBuilder} that simply runs against a single field.
|
|
FieldQueryBuilder ( string name, string query ) : System |
A query that executes the query string against a field. It is a simplified version of {@link QueryStringQueryBuilder} that simply runs against a single field.
|
|
FuzzyMinSim ( float fuzzyMinSim ) : |
Set the minimum similarity for fuzzy queries. Default is 0.5f.
|
|
FuzzyPrefixLength ( int fuzzyPrefixLength ) : |
Set the prefix length for fuzzy queries. Default is 0.
|
|
LowercaseExpandedTerms ( bool lowercaseExpandedTerms ) : |
Whether terms of wildcard, prefix, fuzzy and range queries are to be automatically lower-cased or not. Default is true.
|
|
MinimumShouldMatch ( string minimumShouldMatch ) : |
||
PhraseSlop ( int phraseSlop ) : |
Sets the default slop for phrases. If zero, then exact phrase matches are required. Default value is zero.
|
|
Rewrite ( string rewrite ) : |
||
ToJsonObject ( ) : object | ||
ToString ( ) : string |
public AllowLeadingWildcard ( bool allowLeadingWildcard ) : |
||
allowLeadingWildcard | bool | |
Résultat |
public AnalyzeWildcard ( bool analyzeWildcard ) : |
||
analyzeWildcard | bool | |
Résultat |
public Analyzer ( string analyzer ) : |
||
analyzer | string | |
Résultat |
public AutoGeneratePhraseQueries ( bool autoGeneratePhraseQueries ) : void | ||
autoGeneratePhraseQueries | bool | |
Résultat | void |
public Boost ( float boost ) : |
||
boost | float | |
Résultat |
public DefaultOperator ( Operator defaultOperator ) : |
||
defaultOperator | Operator | |
Résultat |
public EnablePositionIncrements ( bool enablePositionIncrements ) : |
||
enablePositionIncrements | bool | |
Résultat |
public FieldQueryBuilder ( string name, bool query ) : System | ||
name | string | The name of the field |
query | bool | The query string |
Résultat | System |
public FieldQueryBuilder ( string name, double query ) : System | ||
name | string | The name of the field |
query | double | The query string |
Résultat | System |
public FieldQueryBuilder ( string name, float query ) : System | ||
name | string | The name of the field |
query | float | The query string |
Résultat | System |
public FieldQueryBuilder ( string name, int query ) : System | ||
name | string | The name of the field |
query | int | The query string |
Résultat | System |
public FieldQueryBuilder ( string name, long query ) : System | ||
name | string | The name of the field |
query | long | The query string |
Résultat | System |
public FieldQueryBuilder ( string name, object query ) : System | ||
name | string | The name of the field |
query | object | The query string |
Résultat | System |
public FieldQueryBuilder ( string name, string query ) : System | ||
name | string | The name of the field |
query | string | The query string |
Résultat | System |
public FuzzyMinSim ( float fuzzyMinSim ) : |
||
fuzzyMinSim | float | |
Résultat |
public FuzzyPrefixLength ( int fuzzyPrefixLength ) : |
||
fuzzyPrefixLength | int | |
Résultat |
public LowercaseExpandedTerms ( bool lowercaseExpandedTerms ) : |
||
lowercaseExpandedTerms | bool | |
Résultat |
public MinimumShouldMatch ( string minimumShouldMatch ) : |
||
minimumShouldMatch | string | |
Résultat |
public PhraseSlop ( int phraseSlop ) : |
||
phraseSlop | int | |
Résultat |
public Rewrite ( string rewrite ) : |
||
rewrite | string | |
Résultat |