C# Class Rubber.DSL.Facet.HistogramScriptFacetBuilder

Inheritance: AbstractFacetBuilder
Datei anzeigen Open project: stephenpope/Rubber

Public Methods

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

public Comparator ( HistogramComparatorType comparatorType ) : HistogramScriptFacetBuilder
comparatorType HistogramComparatorType
return HistogramScriptFacetBuilder

FacetFilter() public method

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

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 ) : HistogramScriptFacetBuilder
global bool
return HistogramScriptFacetBuilder

HistogramScriptFacetBuilder() public method

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

Interval() public method

public Interval ( long interval ) : HistogramScriptFacetBuilder
interval long
return HistogramScriptFacetBuilder

KeyField() public method

public KeyField ( string keyFieldName ) : HistogramScriptFacetBuilder
keyFieldName string
return HistogramScriptFacetBuilder

KeyScript() public method

public KeyScript ( string keyScript ) : HistogramScriptFacetBuilder
keyScript string
return HistogramScriptFacetBuilder

Lang() public method

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

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 ) : HistogramScriptFacetBuilder
nested string
return HistogramScriptFacetBuilder

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 ) : HistogramScriptFacetBuilder
name string
value object
return HistogramScriptFacetBuilder

Scope() public method

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

ToJsonObject() public method

public ToJsonObject ( ) : object
return object

ValueScript() public method

public ValueScript ( string valueScript ) : HistogramScriptFacetBuilder
valueScript string
return HistogramScriptFacetBuilder