C# Class Rubber.DSL.Query.TopChildrenQueryBuilder

Inheritance: IQueryBuilder
Afficher le fichier Open project: stephenpope/Rubber

Méthodes publiques

Méthode Description
Boost ( float boost ) : TopChildrenQueryBuilder

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.

Factor ( int factor ) : TopChildrenQueryBuilder

Controls the multiplication factor of the initial hits required from the child query over the main query request. Defaults to 5.

IncrementalFactor ( int incrementalFactor ) : TopChildrenQueryBuilder

Sets the incremental factor when the query needs to be re-run in order to fetch more results. Defaults to 2.

Scope ( string scope ) : TopChildrenQueryBuilder

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

Score ( string score ) : TopChildrenQueryBuilder

How to compute the score. Possible values are: max, sum, or avg. Defaults to max.

ToJsonObject ( ) : object
ToString ( ) : string
TopChildrenQueryBuilder ( string type, IQueryBuilder queryBuilder ) : System

Method Details

Boost() public méthode

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 ) : TopChildrenQueryBuilder
boost float
Résultat TopChildrenQueryBuilder

Factor() public méthode

Controls the multiplication factor of the initial hits required from the child query over the main query request. Defaults to 5.
public Factor ( int factor ) : TopChildrenQueryBuilder
factor int
Résultat TopChildrenQueryBuilder

IncrementalFactor() public méthode

Sets the incremental factor when the query needs to be re-run in order to fetch more results. Defaults to 2.
public IncrementalFactor ( int incrementalFactor ) : TopChildrenQueryBuilder
incrementalFactor int
Résultat TopChildrenQueryBuilder

Scope() public méthode

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 ) : TopChildrenQueryBuilder
scope string
Résultat TopChildrenQueryBuilder

Score() public méthode

How to compute the score. Possible values are: max, sum, or avg. Defaults to max.
public Score ( string score ) : TopChildrenQueryBuilder
score string
Résultat TopChildrenQueryBuilder

ToJsonObject() public méthode

public ToJsonObject ( ) : object
Résultat object

ToString() public méthode

public ToString ( ) : string
Résultat string

TopChildrenQueryBuilder() public méthode

public TopChildrenQueryBuilder ( string type, IQueryBuilder queryBuilder ) : System
type string
queryBuilder IQueryBuilder
Résultat System