Module
HasParentFilter
        HasParentFilter ( qryOrFltr, parentType )
    
    Returns results that have parent 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 | parentType(t) | Sets the child document type to search against | 
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 parent documents. | 
Object | toJSON() | Returns the filter object. | 
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. 
  | 
parentType
        Object parentType ( t )
    
    Sets the child document type to search against 
  | 
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 parent documents. 
  |