Module
NestedFilter
NestedFilter ( path )
Constructs a filter that is capable of executing a filter against objects nested within a document.
|
Method Summary
Returns | Name | Description |
---|---|---|
String | _type() | The type of ejs object. For internal use only. |
Object | boost(boost) | Sets the boost value of the nested Query . |
Object | cache(trueFalse) | Enable or disable caching of the filter |
Object | cacheKey(key) | Sets the cache key. |
Object | filter(oFilter) | Sets the nested filter to be executed. |
Object | innerHits(i) | Sets the inner hits options |
Object | innerHits(i) | Sets the inner hits options |
Object | join(trueFalse) | If the nested query should be "joined" with the parent document. Defaults to false. |
Object | name(name) | Sets the filter name. |
Object | path(p) | Sets the root context for the nested filter. |
Object | query(oQuery) | Sets the nested query to be executed. |
Object | scope(s) | Sets the scope of the filter. A scope allows to run facets on the same scope name that will work against the nested documents. |
Object | toJSON() | Returns the filter object. |
Method Detail
boost
Object boost ( boost )
Sets the boost value of the nested Query .
|
cache
Object cache ( trueFalse )
Enable or disable caching of the filter
|
cacheKey
Object cacheKey ( key )
Sets the cache key.
|
filter
Object filter ( oFilter )
Sets the nested filter to be executed.
|
innerHits
Object innerHits ( i )
Sets the inner hits options
|
innerHits
Object innerHits ( i )
Sets the inner hits options
|
join
Object join ( trueFalse )
If the nested query should be "joined" with the parent document.
Defaults to false.
|
name
Object name ( name )
Sets the filter name.
|
path
Object path ( p )
Sets the root context for the nested filter.
|
query
Object query ( oQuery )
Sets the nested query to be executed.
|
scope
Object scope ( s )
Sets the scope of the filter. A scope allows to run facets on the
same scope name that will work against the nested documents.
|