C# Class Rubber.DSL.Facet.StatisticalScriptFacetBuilder

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

Méthodes publiques

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

Method Details

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

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

Lang() public méthode

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

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

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 ) : StatisticalScriptFacetBuilder
name string
value object
Résultat StatisticalScriptFacetBuilder

Scope() public méthode

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

Script() public méthode

public Script ( string script ) : StatisticalScriptFacetBuilder
script string
Résultat StatisticalScriptFacetBuilder

StatisticalScriptFacetBuilder() public méthode

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

ToJsonObject() public méthode

public ToJsonObject ( ) : object
Résultat object