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

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

공개 메소드들

메소드 설명
AddRange ( double from, double to ) : RangeScriptFacetBuilder

Adds a range entry with explicit from and to.

AddUnboundedFrom ( double to ) : RangeScriptFacetBuilder

Adds a range entry with explicit to and unbounded from.

AddUnboundedTo ( double from ) : RangeScriptFacetBuilder

Adds a range entry with explicit from and unbounded to.

FacetFilter ( IFilterBuilder filter ) : RangeScriptFacetBuilder

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

Global ( bool global ) : RangeScriptFacetBuilder

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

KeyScript ( string keyScript ) : RangeScriptFacetBuilder
Lang ( string lang ) : RangeScriptFacetBuilder

The language of the script.

Nested ( string nested ) : RangeScriptFacetBuilder

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

A parameter that will be passed to the script.

RangeScriptFacetBuilder ( string name ) : System.Collections.Generic
Scope ( string scope ) : RangeScriptFacetBuilder

Marks the facet to run in a specific scope.

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

메소드 상세

AddRange() 공개 메소드

Adds a range entry with explicit from and to.
public AddRange ( double from, double to ) : RangeScriptFacetBuilder
from double The from range limit
to double The to range limit
리턴 RangeScriptFacetBuilder

AddUnboundedFrom() 공개 메소드

Adds a range entry with explicit to and unbounded from.
public AddUnboundedFrom ( double to ) : RangeScriptFacetBuilder
to double The to range limit, from is unbounded.
리턴 RangeScriptFacetBuilder

AddUnboundedTo() 공개 메소드

Adds a range entry with explicit from and unbounded to.
public AddUnboundedTo ( double from ) : RangeScriptFacetBuilder
from double The from range limit, to is unbounded.
리턴 RangeScriptFacetBuilder

FacetFilter() 공개 메소드

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

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

KeyScript() 공개 메소드

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

Lang() 공개 메소드

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

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

Param() 공개 메소드

A parameter that will be passed to the script.
public Param ( string name, object value ) : RangeScriptFacetBuilder
name string The name of the script parameter.
value object The value of the script parameter.
리턴 RangeScriptFacetBuilder

RangeScriptFacetBuilder() 공개 메소드

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

Scope() 공개 메소드

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

ToJsonObject() 공개 메소드

public ToJsonObject ( ) : object
리턴 object

ValueScript() 공개 메소드

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