Module
HasParentQuery
        HasParentQuery ( qry, parentType )
    
    Returns results that have parent documents matching the query. 
  | 
Method Summary
| Returns | Name | Description | 
|---|---|---|
String | _type() | The type of ejs object. For internal use only. | 
Object | boost(boost) | Sets the boost value for documents matching the Query. | 
    
Object | innerHits(i) | Sets the inner hits options | 
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 query. A scope allows to run facets on the same scope name that will work against the parent documents. | 
Object | scoreMode(s) | Sets the scoring method. Valid values are: none - the default, no scoring score - the score of the parent is used in all child documents. | 
Object | scoreType(s) | Sets the scoring method. Valid values are: none - the default, no scoring score - the score of the parent is used in all child documents. | 
String | toJSON() | Retrieves the internal query object. This is typically used by
            internal API functions so use with caution. | 
    
Method Detail
boost
        Object boost ( boost )
    
    Sets the boost value for documents matching the  Query.
  | 
innerHits
        Object innerHits ( i )
    
    Sets the inner hits options 
  | 
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 query.  A scope allows to run facets on the 
            same scope name that will work against the parent documents. 
  | 
scoreMode
        Object scoreMode ( s )
    
    Sets the scoring method.  Valid values are:
            
            none - the default, no scoring
            score - the score of the parent is used in all child documents. 
  | 
scoreType
        Object scoreType ( s )
    
    Sets the scoring method.  Valid values are:
            
            none - the default, no scoring
            score - the score of the parent is used in all child documents. 
  | 
toJSON
        String toJSON ( )
    
    Retrieves the internal  query object. This is typically used by
            internal API functions so use with caution.
  |