C# Class Rubber.DSL.Facet.QueryFacetBuilder

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

Méthodes publiques

Méthode Description
FacetFilter ( IFilterBuilder filter ) : QueryFacetBuilder

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

Global ( bool global ) : QueryFacetBuilder

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 ) : QueryFacetBuilder

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.

Query ( IQueryBuilder query ) : QueryFacetBuilder
QueryFacetBuilder ( string name ) : Newtonsoft.Json.Linq
Scope ( string scope ) : QueryFacetBuilder

Marks the facet to run in a specific scope.

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

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

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

Query() public méthode

public Query ( IQueryBuilder query ) : QueryFacetBuilder
query IQueryBuilder
Résultat QueryFacetBuilder

QueryFacetBuilder() public méthode

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

Scope() public méthode

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

ToJsonObject() public méthode

public ToJsonObject ( ) : object
Résultat object