Module
FiltersAggregation
        FiltersAggregation ( name )
    
    Defines a multi bucket aggregations where each bucket is associated with a filter. Each bucket will collect all documents that match its associated filter. 
  | 
Method Summary
| Returns | Name | Description | 
|---|---|---|
String | _type() | The type of ejs object. For internal use only. | 
Object | agg(agg) | Add a nesated aggregation. This method can be called multiple times in order to set multiple nested aggregations what will be executed at the same time as the parent aggregation. Alias for the aggregation method. | 
Object | aggregation(agg) | Add a nesated aggregation. This method can be called multiple times in order to set multiple nested aggregations what will be executed at the same time as the parent aggregation. | 
Object | filter(oFilter,id) | Sets the filters to be used for this aggregation.  | 
    
String | toJSON() | Retrieves the internal   | 
    
Method Detail
agg
        Object agg ( agg )
    
    Add a nesated aggregation.  This method can be called multiple times
      in order to set multiple nested aggregations what will be executed
      at the same time as the parent aggregation.  Alias for the
      aggregation method. 
  | 
aggregation
        Object aggregation ( agg )
    
    Add a nesated aggregation.  This method can be called multiple times
      in order to set multiple nested aggregations what will be executed
      at the same time as the parent aggregation. 
  | 
filter
        Object filter ( oFilter, id )
    
    Sets the filters to be used for this aggregation. 
  | 
toJSON
        String toJSON ( )
    
    Retrieves the internal  
  |