C# Class Rubber.DSL.Facet.StatisticalScriptFacetBuilder

Inheritance: AbstractFacetBuilder
Datei anzeigen Open project: stephenpope/Rubber

Public Methods

Method 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 method

An additional filter used to further filter down the set of documents the facet will run on.
public FacetFilter ( IFilterBuilder filter ) : StatisticalScriptFacetBuilder
filter IFilterBuilder
return StatisticalScriptFacetBuilder

Global() public method

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
return StatisticalScriptFacetBuilder

Lang() public method

The language of the script.
public Lang ( string lang ) : StatisticalScriptFacetBuilder
lang string
return StatisticalScriptFacetBuilder

Nested() public method

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
return StatisticalScriptFacetBuilder

Param() public method

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
return StatisticalScriptFacetBuilder

Scope() public method

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

Script() public method

public Script ( string script ) : StatisticalScriptFacetBuilder
script string
return StatisticalScriptFacetBuilder

StatisticalScriptFacetBuilder() public method

public StatisticalScriptFacetBuilder ( string name ) : System.Collections.Generic
name string
return System.Collections.Generic

ToJsonObject() public method

public ToJsonObject ( ) : object
return object