Module
RangeFacet
        RangeFacet ( name )
    
    A facet which provides information over a range of numeric intervals. 
  | 
Method Summary
| Returns | Name | Description | 
|---|---|---|
String | _type() | The type of ejs object. For internal use only. | 
Object | addRange(from,to) | Adds a new bounded range. | 
Object | addUnboundedFrom(from) | Adds a new unbounded lower limit. | 
Object | addUnboundedTo(to) | Adds a new unbounded upper limit. | 
Object | cacheFilter(trueFalse) | Enables caching of the   | 
    
Object | facetFilter(oFilter) | Allows you to reduce the documents used for computing facet results.  | 
    
Object | field(fieldName) | Sets the document field to be used for the facet. | 
Object | global(trueFalse) | Computes values across the entire index  | 
    
Object | keyField(fieldName) | Allows you to specify an alternate key field to be used to compute the interval. | 
Object | keyScript(scriptCode) | Allows you modify the key field using a script. The modified value
            is then used to generate the interval. | 
    
Object | lang(language) | The script language being used. Currently supported values are
            javascript, groovy, and mvel. | 
    
Object | mode(m) | Sets the mode the facet will use. 
 
  | 
    
Object | nested(path) | Sets the path to the nested document if faceting against a nested field.  | 
    
Object | params(p) | Sets parameters that will be applied to the script. Overwrites any existing params. | 
Object | scope(scope) | Computes values across the the specified scope  | 
    
String | toJSON() | Retrieves the internal   | 
    
Object | valueField(fieldName) | Allows you to specify an alternate value field to be used to compute statistical information. | 
Object | valueScript(scriptCode) | Allows you modify the value field using a script. The modified value
            is then used to compute the statistical data. | 
    
Method Detail
addRange
        Object addRange ( from, to )
    
    Adds a new bounded range. 
  | 
addUnboundedFrom
        Object addUnboundedFrom ( from )
    
    Adds a new unbounded lower limit. 
  | 
addUnboundedTo
        Object addUnboundedTo ( to )
    
    Adds a new unbounded upper limit. 
  | 
cacheFilter
        Object cacheFilter ( trueFalse )
    
    Enables caching of the  
  | 
facetFilter
        Object facetFilter ( oFilter )
    
    Allows you to reduce the documents used for computing facet results. 
  | 
field
        Object field ( fieldName )
    
    Sets the document field to be used for the facet. 
  | 
global
        Object global ( trueFalse )
    
    Computes values across the entire index 
  | 
keyField
        Object keyField ( fieldName )
    
    Allows you to specify an alternate key field to be used to compute the interval. 
  | 
keyScript
        Object keyScript ( scriptCode )
    
    Allows you modify the  key field using a script. The modified value
            is then used to generate the interval.
  | 
lang
        Object lang ( language )
    
    The script language being used. Currently supported values are
             javascript, groovy, and mvel.
  | 
mode
        Object mode ( m )
    
    Sets the mode the facet will use. 
 
 
  | 
nested
        Object nested ( path )
    
    Sets the path to the nested document if faceting against a nested field. 
  | 
params
        Object params ( p )
    
    Sets parameters that will be applied to the script.  Overwrites 
            any existing params. 
  | 
scope
        Object scope ( scope )
    
    Computes values across the the specified scope 
  | 
toJSON
        String toJSON ( )
    
    Retrieves the internal  
  | 
valueField
        Object valueField ( fieldName )
    
    Allows you to specify an alternate value field to be used to compute statistical information. 
  | 
valueScript
        Object valueScript ( scriptCode )
    
    Allows you modify the  value field using a script. The modified value
            is then used to compute the statistical data.
  |