class LogStash::Search::FacetResult
Attributes
duration[RW]
How long this query took, in seconds (or fractions of).
error_message[RW]
Error message, if any.
results[RW]
Array of LogStash::Search::FacetResult::Entry
Public Class Methods
new(settings={})
click to toggle source
# File lib/logstash/search/facetresult.rb, line 15 def initialize(settings={}) @results = [] @duration = nil @error_message = nil end
Public Instance Methods
error?()
click to toggle source
# File lib/logstash/search/facetresult.rb, line 21 def error? return !@error_message.nil? end