C# Class Rubber.DSL.Facet.RangeScriptFacetBuilder

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

Méthodes publiques

Méthode Description
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

Method Details

AddRange() public méthode

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
Résultat RangeScriptFacetBuilder

AddUnboundedFrom() public méthode

Adds a range entry with explicit to and unbounded from.
public AddUnboundedFrom ( double to ) : RangeScriptFacetBuilder
to double The to range limit, from is unbounded.
Résultat RangeScriptFacetBuilder

AddUnboundedTo() public méthode

Adds a range entry with explicit from and unbounded to.
public AddUnboundedTo ( double from ) : RangeScriptFacetBuilder
from double The from range limit, to is unbounded.
Résultat RangeScriptFacetBuilder

FacetFilter() public méthode

An additional filter used to further filter down the set of documents the facet will run on.
public FacetFilter ( IFilterBuilder filter ) : RangeScriptFacetBuilder
filter IFilterBuilder
Résultat RangeScriptFacetBuilder

Global() public méthode

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
Résultat RangeScriptFacetBuilder

KeyScript() public méthode

public KeyScript ( string keyScript ) : RangeScriptFacetBuilder
keyScript string
Résultat RangeScriptFacetBuilder

Lang() public méthode

The language of the script.
public Lang ( string lang ) : RangeScriptFacetBuilder
lang string
Résultat RangeScriptFacetBuilder

Nested() public méthode

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
Résultat RangeScriptFacetBuilder

Param() public méthode

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.
Résultat RangeScriptFacetBuilder

RangeScriptFacetBuilder() public méthode

public RangeScriptFacetBuilder ( string name ) : System.Collections.Generic
name string
Résultat System.Collections.Generic

Scope() public méthode

Marks the facet to run in a specific scope.
public Scope ( string scope ) : RangeScriptFacetBuilder
scope string
Résultat RangeScriptFacetBuilder

ToJsonObject() public méthode

public ToJsonObject ( ) : object
Résultat object

ValueScript() public méthode

public ValueScript ( string valueScript ) : RangeScriptFacetBuilder
valueScript string
Résultat RangeScriptFacetBuilder