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

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

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

Метод Описание
AddRange ( double from, double to ) : RangeScriptFacetBuilder

Adds a range entry with explicit from and to.

AddUnboundedFrom ( double to ) : RangeScriptFacetBuilder

Adds a range entry with explicit to and unbounded from.

AddUnboundedTo ( double from ) : RangeScriptFacetBuilder

Adds a range entry with explicit from and unbounded to.

FacetFilter ( IFilterBuilder filter ) : RangeScriptFacetBuilder

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

Global ( bool global ) : RangeScriptFacetBuilder

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

KeyScript ( string keyScript ) : RangeScriptFacetBuilder
Lang ( string lang ) : RangeScriptFacetBuilder

The language of the script.

Nested ( string nested ) : RangeScriptFacetBuilder

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 ) : RangeScriptFacetBuilder

A parameter that will be passed to the script.

RangeScriptFacetBuilder ( string name ) : System.Collections.Generic
Scope ( string scope ) : RangeScriptFacetBuilder

Marks the facet to run in a specific scope.

ToJsonObject ( ) : object
ValueScript ( string valueScript ) : RangeScriptFacetBuilder

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

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

Adds a range entry with explicit from and to.
public AddRange ( double from, double to ) : RangeScriptFacetBuilder
from double The from range limit
to double The to range limit
Результат RangeScriptFacetBuilder

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

Adds a range entry with explicit to and unbounded from.
public AddUnboundedFrom ( double to ) : RangeScriptFacetBuilder
to double The to range limit, from is unbounded.
Результат RangeScriptFacetBuilder

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

Adds a range entry with explicit from and unbounded to.
public AddUnboundedTo ( double from ) : RangeScriptFacetBuilder
from double The from range limit, to is unbounded.
Результат RangeScriptFacetBuilder

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

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

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 ) : RangeScriptFacetBuilder
global bool
Результат RangeScriptFacetBuilder

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

public KeyScript ( string keyScript ) : RangeScriptFacetBuilder
keyScript string
Результат RangeScriptFacetBuilder

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

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

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 ) : RangeScriptFacetBuilder
nested string
Результат RangeScriptFacetBuilder

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

A parameter that will be passed to the script.
public Param ( string name, object value ) : RangeScriptFacetBuilder
name string The name of the script parameter.
value object The value of the script parameter.
Результат RangeScriptFacetBuilder

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

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

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

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

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

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

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

public ValueScript ( string valueScript ) : RangeScriptFacetBuilder
valueScript string
Результат RangeScriptFacetBuilder