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

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

공개 메소드들

메소드 설명
Comparator ( HistogramComparatorType comparatorType ) : HistogramScriptFacetBuilder
FacetFilter ( IFilterBuilder filter ) : HistogramScriptFacetBuilder

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

Global ( bool global ) : HistogramScriptFacetBuilder

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

HistogramScriptFacetBuilder ( string name ) : System.Collections.Generic
Interval ( long interval ) : HistogramScriptFacetBuilder
KeyField ( string keyFieldName ) : HistogramScriptFacetBuilder
KeyScript ( string keyScript ) : HistogramScriptFacetBuilder
Lang ( string lang ) : HistogramScriptFacetBuilder

The language of the script.

Nested ( string nested ) : HistogramScriptFacetBuilder

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

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

Scope ( string scope ) : HistogramScriptFacetBuilder

Marks the facet to run in a specific scope.

ToJsonObject ( ) : object
ValueScript ( string valueScript ) : HistogramScriptFacetBuilder

메소드 상세

Comparator() 공개 메소드

public Comparator ( HistogramComparatorType comparatorType ) : HistogramScriptFacetBuilder
comparatorType HistogramComparatorType
리턴 HistogramScriptFacetBuilder

FacetFilter() 공개 메소드

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

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

HistogramScriptFacetBuilder() 공개 메소드

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

Interval() 공개 메소드

public Interval ( long interval ) : HistogramScriptFacetBuilder
interval long
리턴 HistogramScriptFacetBuilder

KeyField() 공개 메소드

public KeyField ( string keyFieldName ) : HistogramScriptFacetBuilder
keyFieldName string
리턴 HistogramScriptFacetBuilder

KeyScript() 공개 메소드

public KeyScript ( string keyScript ) : HistogramScriptFacetBuilder
keyScript string
리턴 HistogramScriptFacetBuilder

Lang() 공개 메소드

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

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

Param() 공개 메소드

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

Scope() 공개 메소드

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

ToJsonObject() 공개 메소드

public ToJsonObject ( ) : object
리턴 object

ValueScript() 공개 메소드

public ValueScript ( string valueScript ) : HistogramScriptFacetBuilder
valueScript string
리턴 HistogramScriptFacetBuilder