C# Class Rubber.DSL.Query.CustomBoostFactorQueryBuilder

A query that simply applies the boost factor to another query (multiply it).
Inheritance: IQueryBuilder
ファイルを表示 Open project: stephenpope/Rubber

Public Methods

Method Description
BoostFactor ( float boost ) : CustomBoostFactorQueryBuilder

Sets the boost factor for this query.

CustomBoostFactorQueryBuilder ( IQueryBuilder queryBuilder ) : System

A query that simply applies the boost factor to another query (multiply it).

ToJsonObject ( ) : object
ToString ( ) : string

Method Details

BoostFactor() public method

Sets the boost factor for this query.
public BoostFactor ( float boost ) : CustomBoostFactorQueryBuilder
boost float
return CustomBoostFactorQueryBuilder

CustomBoostFactorQueryBuilder() public method

A query that simply applies the boost factor to another query (multiply it).
public CustomBoostFactorQueryBuilder ( IQueryBuilder queryBuilder ) : System
queryBuilder IQueryBuilder The query to apply the boost factor to.
return System

ToJsonObject() public method

public ToJsonObject ( ) : object
return object

ToString() public method

public ToString ( ) : string
return string