C# Class Rubber.DSL.Facet.StatisticalFacetBuilder

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

Méthodes publiques

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

An additional filter used to further filter down the set of documents the facet will run on.
public FacetFilter ( IFilterBuilder filter ) : StatisticalFacetBuilder
filter IFilterBuilder
Résultat StatisticalFacetBuilder

Field() public méthode

public Field ( string field ) : StatisticalFacetBuilder
field string
Résultat StatisticalFacetBuilder

Fields() public méthode

The fields the terms will be collected from.
public Fields ( ) : StatisticalFacetBuilder
Résultat StatisticalFacetBuilder

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

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

Scope() public méthode

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

StatisticalFacetBuilder() public méthode

public StatisticalFacetBuilder ( string name ) : Newtonsoft.Json.Linq
name string
Résultat Newtonsoft.Json.Linq

ToJsonObject() public méthode

public ToJsonObject ( ) : object
Résultat object