C# Class Rubber.DSL.Facet.HistogramScriptFacetBuilder

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

Méthodes publiques

Méthode Description
Comparator ( HistogramComparatorType comparatorType ) : HistogramScriptFacetBuilder
FacetFilter ( IFilterBuilder filter ) : HistogramScriptFacetBuilder

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

Global ( bool global ) : HistogramScriptFacetBuilder

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

HistogramScriptFacetBuilder ( string name ) : System.Collections.Generic
Interval ( long interval ) : HistogramScriptFacetBuilder
KeyField ( string keyFieldName ) : HistogramScriptFacetBuilder
KeyScript ( string keyScript ) : HistogramScriptFacetBuilder
Lang ( string lang ) : HistogramScriptFacetBuilder

The language of the script.

Nested ( string nested ) : HistogramScriptFacetBuilder

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

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

Scope ( string scope ) : HistogramScriptFacetBuilder

Marks the facet to run in a specific scope.

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

Method Details

Comparator() public méthode

public Comparator ( HistogramComparatorType comparatorType ) : HistogramScriptFacetBuilder
comparatorType HistogramComparatorType
Résultat HistogramScriptFacetBuilder

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 ) : HistogramScriptFacetBuilder
filter IFilterBuilder
Résultat HistogramScriptFacetBuilder

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 ) : HistogramScriptFacetBuilder
global bool
Résultat HistogramScriptFacetBuilder

HistogramScriptFacetBuilder() public méthode

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

Interval() public méthode

public Interval ( long interval ) : HistogramScriptFacetBuilder
interval long
Résultat HistogramScriptFacetBuilder

KeyField() public méthode

public KeyField ( string keyFieldName ) : HistogramScriptFacetBuilder
keyFieldName string
Résultat HistogramScriptFacetBuilder

KeyScript() public méthode

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

Lang() public méthode

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

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 ) : HistogramScriptFacetBuilder
nested string
Résultat HistogramScriptFacetBuilder

Param() public méthode

Parameters for {@link #valueScript(string)} to improve performance when executing the same script with different parameters.
public Param ( string name, object value ) : HistogramScriptFacetBuilder
name string
value object
Résultat HistogramScriptFacetBuilder

Scope() public méthode

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

ToJsonObject() public méthode

public ToJsonObject ( ) : object
Résultat object

ValueScript() public méthode

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