Apache Solr open-source search software
temporary change, make parsed response publicly available until facets are robustly implemented. seems odd that facet response is not inside the *response* container though
Erik Hatcherce8064d4bbe7
diff --git a/client/ruby/solrb/lib/solr/response.rb b/client/ruby/solrb/lib/solr/response.rbindex 17220760456..00d5362d917 100755--- a/client/ruby/solrb/lib/solr/response.rb+++ b/client/ruby/solrb/lib/solr/response.rb@@ -12,7 +12,7 @@module Solrclass Response- attr_reader :header, :raw_response, :data+ attr_reader :header, :raw_response, :data, :parsed_responsedef initialize(body)@raw_response = bodyif match = /^<result status="(\d+)"/.match(body)@@ -27,7 +27,7 @@ module Solrclass RubyResponse < Responsedef initialize(body)super(body)- parsed_response = eval(body)+ @parsed_response = eval(body)@header = parsed_response['responseHeader']@data = parsed_response['response']end