C# Класс Rubber.DSL.Facet.StatisticalScriptFacetBuilder

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

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

Метод Описание
FacetFilter ( IFilterBuilder filter ) : StatisticalScriptFacetBuilder

An additional filter used to further filter down the set of documents the facet will run on.

Global ( bool global ) : StatisticalScriptFacetBuilder

Should the facet run in global mode (not bounded by the search query) or not (bounded by the search query). Defaults to false.

Lang ( string lang ) : StatisticalScriptFacetBuilder

The language of the script.

Nested ( string nested ) : StatisticalScriptFacetBuilder

Sets the nested path the facet will execute on. A match (root object) will then cause all the nested objects matching the path to be computed into the facet.

Param ( string name, object value ) : StatisticalScriptFacetBuilder

Parameters for {@link #valueScript(string)} to improve performance when executing the same script with different parameters.

Scope ( string scope ) : StatisticalScriptFacetBuilder

Marks the facet to run in a specific scope.

Script ( string script ) : StatisticalScriptFacetBuilder
StatisticalScriptFacetBuilder ( string name ) : System.Collections.Generic
ToJsonObject ( ) : object

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

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

An additional filter used to further filter down the set of documents the facet will run on.
public FacetFilter ( IFilterBuilder filter ) : StatisticalScriptFacetBuilder
filter IFilterBuilder
Результат StatisticalScriptFacetBuilder

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

Should the facet run in global mode (not bounded by the search query) or not (bounded by the search query). Defaults to false.
public Global ( bool global ) : StatisticalScriptFacetBuilder
global bool
Результат StatisticalScriptFacetBuilder

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

The language of the script.
public Lang ( string lang ) : StatisticalScriptFacetBuilder
lang string
Результат StatisticalScriptFacetBuilder

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

Sets the nested path the facet will execute on. A match (root object) will then cause all the nested objects matching the path to be computed into the facet.
public Nested ( string nested ) : StatisticalScriptFacetBuilder
nested string
Результат StatisticalScriptFacetBuilder

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

Parameters for {@link #valueScript(string)} to improve performance when executing the same script with different parameters.
public Param ( string name, object value ) : StatisticalScriptFacetBuilder
name string
value object
Результат StatisticalScriptFacetBuilder

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

Marks the facet to run in a specific scope.
public Scope ( string scope ) : StatisticalScriptFacetBuilder
scope string
Результат StatisticalScriptFacetBuilder

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

public Script ( string script ) : StatisticalScriptFacetBuilder
script string
Результат StatisticalScriptFacetBuilder

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

public StatisticalScriptFacetBuilder ( string name ) : System.Collections.Generic
name string
Результат System.Collections.Generic

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

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