- to_json is called with a parameter? Hmm...

This: JSON::Ext::Generator::State

  But, facet queries work now :)
This commit is contained in:
Jordan Sissel 2011-02-10 10:42:13 -08:00
parent 35d262f463
commit 5a7b833bef

View file

@ -9,7 +9,8 @@ class LogStash::Search::FacetResult::Histogram < LogStash::Search::FacetResult::
attr_accessor :total
attr_accessor :count
def to_json
def to_json(*args)
p :to_json => args
return {
"key" => @key,
"mean" => @mean,