Class: Eson::Search::DateHistogram

Inherits:
Histogram
  • Object
show all
Defined in:
lib/eson/search/date_histogram.rb

Instance Attribute Summary

Attributes inherited from Histogram

#options

Attributes included from Facet

#args, #scope_name

Instance Method Summary collapse

Methods inherited from Histogram

#histogram, #initialize, #to_query_hash

Methods included from Facet

included, #method_missing, #param, #scope

Constructor Details

This class inherits a constructor from Eson::Search::Histogram

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Eson::Search::Facet

Instance Method Details

#date_histogram { ... } ⇒ self

Generates a ‘date_histogram` facet in a facets context.

Yields:

  • the block describing further options

Returns:

  • (self)

    the generated facet



7
# File 'lib/eson/search/date_histogram.rb', line 7

short_name :date_histogram