C# Class Rubber.DSL.Facet.StatisticalFacetBuilder

Inheritance: AbstractFacetBuilder
Mostrar archivo Open project: stephenpope/Rubber

Public Methods

Method Description
FacetFilter ( IFilterBuilder filter ) : StatisticalFacetBuilder

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

Field ( string field ) : StatisticalFacetBuilder
Fields ( ) : StatisticalFacetBuilder

The fields the terms will be collected from.

Global ( bool global ) : StatisticalFacetBuilder

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

Nested ( string nested ) : StatisticalFacetBuilder

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.

Scope ( string scope ) : StatisticalFacetBuilder

Marks the facet to run in a specific scope.

StatisticalFacetBuilder ( string name ) : Newtonsoft.Json.Linq
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 ) : StatisticalFacetBuilder
filter IFilterBuilder
return StatisticalFacetBuilder

Field() public method

public Field ( string field ) : StatisticalFacetBuilder
field string
return StatisticalFacetBuilder

Fields() public method

The fields the terms will be collected from.
public Fields ( ) : StatisticalFacetBuilder
return StatisticalFacetBuilder

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

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

Scope() public method

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

StatisticalFacetBuilder() public method

public StatisticalFacetBuilder ( string name ) : Newtonsoft.Json.Linq
name string
return Newtonsoft.Json.Linq

ToJsonObject() public method

public ToJsonObject ( ) : object
return object