C# Class Rubber.DSL.Query.IdsQueryBuilder

A query that will return only documents matching specific ids (and a type).
Inheritance: IQueryBuilder
ファイルを表示 Open project: stephenpope/Rubber

Public Methods

Method Description
AddIds ( ) : IdsQueryBuilder

Adds ids to the filter.

Boost ( float boost ) : IdsQueryBuilder

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.

Ids ( ) : IdsQueryBuilder

Adds ids to the filter.

IdsQueryBuilder ( ) : System
ToJsonObject ( ) : object
ToString ( ) : string

Method Details

AddIds() public method

Adds ids to the filter.
public AddIds ( ) : IdsQueryBuilder
return IdsQueryBuilder

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 ) : IdsQueryBuilder
boost float
return IdsQueryBuilder

Ids() public method

Adds ids to the filter.
public Ids ( ) : IdsQueryBuilder
return IdsQueryBuilder

IdsQueryBuilder() public method

public IdsQueryBuilder ( ) : System
return System

ToJsonObject() public method

public ToJsonObject ( ) : object
return object

ToString() public method

public ToString ( ) : string
return string