C# Class Rubber.DSL.Facet.FilterFacetBuilder

Inheritance: AbstractFacetBuilder
Datei anzeigen Open project: stephenpope/Rubber

Public Methods

Method Description
FacetFilter ( IFilterBuilder filter ) : FilterFacetBuilder

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

Filter ( IFilterBuilder filter ) : FilterFacetBuilder
FilterFacetBuilder ( string name ) : Newtonsoft.Json.Linq
Global ( bool global ) : FilterFacetBuilder

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

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

Marks the facet to run in a specific scope.

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 ) : FilterFacetBuilder
filter IFilterBuilder
return FilterFacetBuilder

Filter() public method

public Filter ( IFilterBuilder filter ) : FilterFacetBuilder
filter IFilterBuilder
return FilterFacetBuilder

FilterFacetBuilder() public method

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

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

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

Scope() public method

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

ToJsonObject() public method

public ToJsonObject ( ) : object
return object