module Solr4R::Result::FacetCounts
Public Instance Methods
facet_counts()
click to toggle source
# File lib/solr4r/result.rb, line 134 def facet_counts fetch(__method__.to_s) end
facet_fields() { |key, Hash| ... }
click to toggle source
# File lib/solr4r/result.rb, line 138 def facet_fields return enum_for(__method__) unless block_given? facet_counts.fetch(__method__.to_s).each { |key, value| yield key, Hash[*value] } end
facet_ranges() { |key, merge('counts' => Hash[*value)| ... }
click to toggle source
# File lib/solr4r/result.rb, line 146 def facet_ranges return enum_for(__method__) unless block_given? facet_counts.fetch(__method__.to_s).each { |key, value| yield key, value.merge('counts' => Hash[*value['counts']]) } end