module Solr4R::Result::Terms

Public Instance Methods

to_i() click to toggle source
# File lib/solr4r/result.rb, line 118
def to_i
  fetch('terms').size
end

Private Instance Methods

_each() { |key, Hash| ... } click to toggle source
# File lib/solr4r/result.rb, line 124
def _each
  fetch('terms').each { |key, value|
    yield key, Hash[*value]
  }
end