Module
HasChildFilter
HasChildFilter ( qryOrFltr, type )
Returns results that have child documents matching the filter.
|
Method Summary
Returns | Name | Description |
---|---|---|
String | _type() | The type of ejs object. For internal use only. |
Object | cache(trueFalse) | Enable or disable caching of the filter |
Object | cacheKey(key) | Sets the cache key. |
Object | filter(f) | Sets the filter |
Object | innerHits(i) | Sets the inner hits options |
Object | name(name) | Sets the filter name. |
Object | query(q) | Sets the query |
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 child documents. |
Object | shortCircuitCutoff(cutoff) | Sets the cutoff value to short circuit processing. |
Object | toJSON() | Returns the filter object. |
Object | type(t) | Sets the child document type to search against |
Method Detail
cache
Object cache ( trueFalse )
Enable or disable caching of the filter
|
cacheKey
Object cacheKey ( key )
Sets the cache key.
|
filter
Object filter ( f )
Sets the filter
|
innerHits
Object innerHits ( i )
Sets the inner hits options
|
name
Object name ( name )
Sets the filter name.
|
query
Object query ( q )
Sets the query
|
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 child documents.
|
shortCircuitCutoff
Object shortCircuitCutoff ( cutoff )
Sets the cutoff value to short circuit processing.
|
type
Object type ( t )
Sets the child document type to search against
|