Method | 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.
|
|
CustomScoreQueryBuilder ( IQueryBuilder queryBuilder ) : System |
A query that simply applies the boost factor to another query (multiply it).
|
|
Lang ( string lang ) : |
Sets the language of the script.
|
|
Param ( string name, object value ) : |
Additional parameters that can be provided to the script.
|
|
Params ( object>.Dictionary |
Additional parameters that can be provided to the script.
|
|
Script ( string script ) : |
||
ToJsonObject ( ) : object | ||
ToString ( ) : string |
public Boost ( float boost ) : |
||
boost | float | |
return |
public CustomScoreQueryBuilder ( IQueryBuilder queryBuilder ) : System | ||
queryBuilder | IQueryBuilder | The query to apply the boost factor to. |
return | System |
public Lang ( string lang ) : |
||
lang | string | |
return |
public Param ( string name, object value ) : |
||
name | string | |
value | object | |
return |
public Params ( object>.Dictionary |
||
parameters | object>.Dictionary | |
return |
public Script ( string script ) : |
||
script | string | |
return |