Module
FilterFacet
        FilterFacet ( name )
    
    A facet that return a count of the hits matching the given filter. 
  | 
Method Summary
| Returns | Name | Description | 
|---|---|---|
String | _type() | The type of ejs object. For internal use only. | 
Object | cacheFilter(trueFalse) | Enables caching of the   | 
    
Object | facetFilter(oFilter) | Allows you to reduce the documents used for computing facet results.  | 
    
Object | filter(oFilter) | Sets the filter to be used for this facet.  | 
    
Object | global(trueFalse) | Computes values across the entire index  | 
    
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 | scope(scope) | Computes values across the the specified scope  | 
    
String | toJSON() | Retrieves the internal   | 
    
Method Detail
cacheFilter
        Object cacheFilter ( trueFalse )
    
    Enables caching of the  
  | 
facetFilter
        Object facetFilter ( oFilter )
    
    Allows you to reduce the documents used for computing facet results. 
  | 
filter
        Object filter ( oFilter )
    
    Sets the filter to be used for this facet. 
  | 
global
        Object global ( trueFalse )
    
    Computes values across the entire index 
  | 
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. 
  | 
scope
        Object scope ( scope )
    
    Computes values across the the specified scope 
  | 
toJSON
        String toJSON ( )
    
    Retrieves the internal  
  |