Module
ConstantScoreQuery
        ConstantScoreQuery ( )
    
    Constructs a query where each documents returned by the internal query or filter have a constant score equal to the boost factor.  | 
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 | cache(trueFalse) | Enables caching of the filter. | 
Object | cacheKey(k) | Set the cache key. | 
Object | filter(oFilter) | Adds the filter to apply a constant score to. | 
Object | query(oQuery) | Adds the query to apply a constant score to. | 
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.
  | 
cache
        Object cache ( trueFalse )
    
    Enables caching of the filter. 
  | 
cacheKey
        Object cacheKey ( k )
    
    Set the cache key. 
  | 
filter
        Object filter ( oFilter )
    
    Adds the filter to apply a constant score to. 
  | 
query
        Object query ( oQuery )
    
    Adds the query to apply a constant score to. 
  | 
toJSON
        String toJSON ( )
    
    Retrieves the internal  query object. This is typically used by
            internal API functions so use with caution.
  |