module Solr4R::Result::FacetCounts
Public Instance Methods
facet_counts()
click to toggle source
# File lib/solr4r/result.rb 135 def facet_counts 136 fetch(__method__.to_s) 137 end
facet_fields() { |key, Hash| ... }
click to toggle source
# File lib/solr4r/result.rb 139 def facet_fields 140 return enum_for(__method__) unless block_given? 141 142 facet_counts.fetch(__method__.to_s).each { |key, value| 143 yield key, Hash[*value] 144 } 145 end
facet_ranges() { |key, merge('counts' => Hash[*value)| ... }
click to toggle source
# File lib/solr4r/result.rb 147 def facet_ranges 148 return enum_for(__method__) unless block_given? 149 150 facet_counts.fetch(__method__.to_s).each { |key, value| 151 yield key, value.merge('counts' => Hash[*value['counts']]) 152 } 153 end