C# Класс Rubber.DSL.Query.TopChildrenQueryBuilder

Наследование: IQueryBuilder
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Boost() публичный Метод

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
Результат TopChildrenQueryBuilder

Factor() публичный Метод

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
Результат TopChildrenQueryBuilder

IncrementalFactor() публичный Метод

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
Результат TopChildrenQueryBuilder

Scope() публичный Метод

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
Результат TopChildrenQueryBuilder

Score() публичный Метод

How to compute the score. Possible values are: max, sum, or avg. Defaults to max.
public Score ( string score ) : TopChildrenQueryBuilder
score string
Результат TopChildrenQueryBuilder

ToJsonObject() публичный Метод

public ToJsonObject ( ) : object
Результат object

ToString() публичный Метод

public ToString ( ) : string
Результат string

TopChildrenQueryBuilder() публичный Метод

public TopChildrenQueryBuilder ( string type, IQueryBuilder queryBuilder ) : System
type string
queryBuilder IQueryBuilder
Результат System