C# Class Rubber.DSL.Query.FilteredQueryBuilder

Inheritance: IQueryBuilder
ファイルを表示 Open project: stephenpope/Rubber Class Usage Examples

Public Methods

Method Description
Boost ( float boost ) : FilteredQueryBuilder

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.

FilteredQueryBuilder ( IQueryBuilder queryBuilder, IFilterBuilder filterBuilder ) : System

A query that applies a filter to the results of another 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 ) : FilteredQueryBuilder
boost float
return FilteredQueryBuilder

FilteredQueryBuilder() public method

A query that applies a filter to the results of another query.
public FilteredQueryBuilder ( IQueryBuilder queryBuilder, IFilterBuilder filterBuilder ) : System
queryBuilder IQueryBuilder The query to apply the filter to
filterBuilder IFilterBuilder The filter to apply on the query
return System

ToJsonObject() public method

public ToJsonObject ( ) : object
return object

ToString() public method

public ToString ( ) : string
return string