C# Class Rubber.DSL.Query.HasChildQueryBuilder

Inheritance: IQueryBuilder
Show file Open project: stephenpope/Rubber

Public Methods

Method Description
Boost ( float boost ) : HasChildQueryBuilder

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.

HasChildQueryBuilder ( string childType, IQueryBuilder query ) : System
Scope ( string scope ) : HasChildQueryBuilder

The scope of the query, which can later be used, for example, to run facets against the child docs that matches the query.

ToJsonObject ( ) : object
ToString ( ) : string

Method Details

Boost() public method

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.
public Boost ( float boost ) : HasChildQueryBuilder
boost float
return HasChildQueryBuilder

HasChildQueryBuilder() public method

public HasChildQueryBuilder ( string childType, IQueryBuilder query ) : System
childType string
query IQueryBuilder
return System

Scope() public method

The scope of the query, which can later be used, for example, to run facets against the child docs that matches the query.
public Scope ( string scope ) : HasChildQueryBuilder
scope string
return HasChildQueryBuilder

ToJsonObject() public method

public ToJsonObject ( ) : object
return object

ToString() public method

public ToString ( ) : string
return string