C# 클래스 Rubber.DSL.Facet.StatisticalScriptFacetBuilder

상속: AbstractFacetBuilder
파일 보기 프로젝트 열기: stephenpope/Rubber

공개 메소드들

메소드 설명
FacetFilter ( IFilterBuilder filter ) : StatisticalScriptFacetBuilder

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

Global ( bool global ) : StatisticalScriptFacetBuilder

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

Lang ( string lang ) : StatisticalScriptFacetBuilder

The language of the script.

Nested ( string nested ) : StatisticalScriptFacetBuilder

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

Parameters for {@link #valueScript(string)} to improve performance when executing the same script with different parameters.

Scope ( string scope ) : StatisticalScriptFacetBuilder

Marks the facet to run in a specific scope.

Script ( string script ) : StatisticalScriptFacetBuilder
StatisticalScriptFacetBuilder ( string name ) : System.Collections.Generic
ToJsonObject ( ) : object

메소드 상세

FacetFilter() 공개 메소드

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

Global() 공개 메소드

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 ) : StatisticalScriptFacetBuilder
global bool
리턴 StatisticalScriptFacetBuilder

Lang() 공개 메소드

The language of the script.
public Lang ( string lang ) : StatisticalScriptFacetBuilder
lang string
리턴 StatisticalScriptFacetBuilder

Nested() 공개 메소드

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 ) : StatisticalScriptFacetBuilder
nested string
리턴 StatisticalScriptFacetBuilder

Param() 공개 메소드

Parameters for {@link #valueScript(string)} to improve performance when executing the same script with different parameters.
public Param ( string name, object value ) : StatisticalScriptFacetBuilder
name string
value object
리턴 StatisticalScriptFacetBuilder

Scope() 공개 메소드

Marks the facet to run in a specific scope.
public Scope ( string scope ) : StatisticalScriptFacetBuilder
scope string
리턴 StatisticalScriptFacetBuilder

Script() 공개 메소드

public Script ( string script ) : StatisticalScriptFacetBuilder
script string
리턴 StatisticalScriptFacetBuilder

StatisticalScriptFacetBuilder() 공개 메소드

public StatisticalScriptFacetBuilder ( string name ) : System.Collections.Generic
name string
리턴 System.Collections.Generic

ToJsonObject() 공개 메소드

public ToJsonObject ( ) : object
리턴 object