Module
RangeFilter
        RangeFilter ( field )
    
    Filters documents with fields that have terms within a certain range. 
  | 
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 | field(f) | The field to run the filter against. | 
Object | from(f) | The lower bound. Defaults to start from the first. | 
Object | gt(val) | Greater than value. Same as setting from to the value, and include_lower to false, | 
Object | gte(val) | Greater than or equal to value. Same as setting from to the value, and include_lower to true. | 
Object | includeLower(trueFalse) | Should the first from (if set) be inclusive or not. Defaults to true | 
Object | includeUpper(trueFalse) | Should the last to (if set) be inclusive or not. Defaults to true. | 
Object | lt(val) | Less than value. Same as setting to to the value, and include_upper to false. | 
Object | lte(val) | Less than or equal to value. Same as setting to to the value, and include_upper to true. | 
Object | name(name) | Sets the filter name. | 
Object | to(t) | The upper bound. Defaults to unbounded. | 
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. 
  | 
field
        Object field ( f )
    
    The field to run the filter against. 
  | 
from
        Object from ( f )
    
    The lower bound. Defaults to start from the first. 
  | 
gt
        Object gt ( val )
    
    Greater than value.  Same as setting from to the value, and 
            include_lower to false, 
  | 
gte
        Object gte ( val )
    
    Greater than or equal to value.  Same as setting from to the value,
            and include_lower to true. 
  | 
includeLower
        Object includeLower ( trueFalse )
    
    Should the first from (if set) be inclusive or not. 
            Defaults to true 
  | 
includeUpper
        Object includeUpper ( trueFalse )
    
    Should the last to (if set) be inclusive or not. Defaults to true. 
  | 
lt
        Object lt ( val )
    
    Less than value.  Same as setting to to the value, and include_upper 
            to false. 
  | 
lte
        Object lte ( val )
    
    Less than or equal to value.  Same as setting to to the value, 
            and include_upper to true. 
  | 
name
        Object name ( name )
    
    Sets the filter name. 
  | 
to
        Object to ( t )
    
    The upper bound. Defaults to unbounded. 
  |