Метод | Описание | |
---|---|---|
FacetFilter ( IFilterBuilder filter ) : |
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 |
public FacetFilter ( IFilterBuilder filter ) : |
||
filter | IFilterBuilder | |
Результат |
public Global ( bool global ) : StatisticalScriptFacetBuilder | ||
global | bool | |
Результат | StatisticalScriptFacetBuilder |
public Lang ( string lang ) : StatisticalScriptFacetBuilder | ||
lang | string | |
Результат | StatisticalScriptFacetBuilder |
public Nested ( string nested ) : StatisticalScriptFacetBuilder | ||
nested | string | |
Результат | StatisticalScriptFacetBuilder |
public Param ( string name, object value ) : StatisticalScriptFacetBuilder | ||
name | string | |
value | object | |
Результат | StatisticalScriptFacetBuilder |
public Scope ( string scope ) : StatisticalScriptFacetBuilder | ||
scope | string | |
Результат | StatisticalScriptFacetBuilder |
public Script ( string script ) : StatisticalScriptFacetBuilder | ||
script | string | |
Результат | StatisticalScriptFacetBuilder |
public StatisticalScriptFacetBuilder ( string name ) : System.Collections.Generic | ||
name | string | |
Результат | System.Collections.Generic |