Module
HasChildQuery
        HasChildQuery ( qry, type )
    
    Returns results that have child 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 | maxChildren(max) | Sets the max_children value. | 
Object | maxChildren(max) | Sets the max_children value. | 
Object | minChildren(min) | Sets the min_children value. | 
Object | minChildren(min) | Sets the min_children value. | 
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 child documents. | 
Object | scoreMode(s) | Sets the scoring method. Valid values are: none - the default, no scoring max - the highest score of all matched child documents is used sum - the sum the all the matched child documents is used avg - the average of all matched child documents is used | 
Object | scoreType(s) | Sets the scoring method. Valid values are: none - the default, no scoring max - the highest score of all matched child documents is used sum - the sum the all the matched child documents is used avg - the average of all matched child documents is used | 
Object | shortCircuitCutoff(cutoff) | Sets the cutoff value to short circuit processing. | 
String | toJSON() | Retrieves the internal query object. This is typically used by
            internal API functions so use with caution. | 
    
Object | type(t) | Sets the child document type to search against | 
Method Detail
boost
        Object boost ( boost )
    
    Sets the boost value for documents matching the  Query.
  | 
innerHits
        Object innerHits ( i )
    
    Sets the inner hits options 
  | 
maxChildren
        Object maxChildren ( max )
    
    Sets the max_children value. 
  | 
maxChildren
        Object maxChildren ( max )
    
    Sets the max_children value. 
  | 
minChildren
        Object minChildren ( min )
    
    Sets the min_children value. 
  | 
minChildren
        Object minChildren ( min )
    
    Sets the min_children value. 
  | 
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 child documents. 
  | 
scoreMode
        Object scoreMode ( s )
    
    Sets the scoring method.  Valid values are:
            none - the default, no scoring
            max - the highest score of all matched child documents is used
            sum - the sum the all the matched child documents is used
            avg - the average of all matched child documents is used 
  | 
scoreType
        Object scoreType ( s )
    
    Sets the scoring method.  Valid values are:
            none - the default, no scoring
            max - the highest score of all matched child documents is used
            sum - the sum the all the matched child documents is used
            avg - the average of all matched child documents is used 
  | 
shortCircuitCutoff
        Object shortCircuitCutoff ( cutoff )
    
    Sets the cutoff value to short circuit processing. 
  | 
toJSON
        String toJSON ( )
    
    Retrieves the internal  query object. This is typically used by
            internal API functions so use with caution.
  | 
type
        Object type ( t )
    
    Sets the child document type to search against 
  |