Méthode | Description | |
---|---|---|
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.
|
|
DisableCoord ( bool disableCoord ) : |
Disables Similarity#coord(int,int) in scoring. Defaults to false.
|
|
HasClauses ( ) : bool |
Return
|
|
MinimumNumberShouldMatch ( int minimumNumberShouldMatch ) : |
Specifies a minimum number of the optional (should) boolean clauses which must be satisfied. By default no optional clauses are necessary for a match (unless there are no required clauses). If this method is used, then the specified number of clauses is required. Use of this method is totally independent of specifying that any specific clauses are required (or prohibited). This number will only be compared against the number of matching optional clauses. minimumNumberShouldMatch the number of optional clauses that must match
|
|
Must ( IQueryBuilder queryBuilder ) : |
Adds a query that must appear in the matching documents.
|
|
MustNot ( IQueryBuilder queryBuilder ) : |
Adds a query that must not appear in the matching documents.
|
|
Should ( IQueryBuilder queryBuilder ) : |
Adds a query that should appear in the matching documents. For a boolean query with no MUST clauses one or more
|
|
ToJsonObject ( ) : object | ||
ToString ( ) : string |
Méthode | Description | |
---|---|---|
ArrayToObject ( string field, IList |
public Boost ( float boost ) : |
||
boost | float | |
Résultat |
public DisableCoord ( bool disableCoord ) : |
||
disableCoord | bool | |
Résultat |
public MinimumNumberShouldMatch ( int minimumNumberShouldMatch ) : |
||
minimumNumberShouldMatch | int | |
Résultat |
public Must ( IQueryBuilder queryBuilder ) : |
||
queryBuilder | IQueryBuilder | |
Résultat |
public MustNot ( IQueryBuilder queryBuilder ) : |
||
queryBuilder | IQueryBuilder | |
Résultat |
public Should ( IQueryBuilder queryBuilder ) : |
||
queryBuilder | IQueryBuilder | |
Résultat |