Hi everyone, Below is the error the I received when I tried to query the solr using find_by_solr. below bold shows where I output the response header from the solr server
>> Post.find_by_solr("amit") query "(amit) AND type_t:Post" response "{'responseHeader'=>{'status'=>0,'QTime'=>0,'params'=>{'fl'=>'pk_i','q'=>'(amit) AND type_t:Post','wt'=>'ruby'}},'response'=>{'numFound'=>1,'start'=>0,'docs'=>[{'pk_i'=>ae5a8W7DOr25GRabmcoL7T}]}}" ./script/../config/../config/../vendor/plugins/acts_as_solr/lib/class_methods.rb:181:in `process_query' (eval):1:in `process_query' ./script/../config/../config/../vendor/plugins/acts_as_solr/lib/class_methods.rb:38:in `eval' ./script/../config/../config/../vendor/plugins/acts_as_solr/lib/class_methods.rb:181:in `process_query' ./script/../config/../config/../vendor/plugins/acts_as_solr/lib/class_methods.rb:38:in `find_by_solr' (irb):6:in `irb_binding' c:/ruby/lib/ruby/1.8/irb/workspace.rb:52:in `irb_binding' c:/ruby/lib/ruby/1.8/irb/workspace.rb:52 RuntimeError: There was a problem executing your search: undefined local variable or method `ae5a8W7DOr25GRabmcoL7T' for Post:Class from ./script/../config/../config/../vendor/plugins/acts_as_solr/lib/class_methods.rb:186:in `process_query' from ./script/../config/../config/../vendor/plugins/acts_as_solr/lib/class_methods.rb:38:in `find_by_solr' from (irb):6On Apr 12, 5:00 pm, "amit" <[EMAIL PROTECTED]> wrote: Can someone help me why is this an issue. TIA amit -- View this message in context: http://www.nabble.com/Error-when-try-to-find_by_solr-tf3602498.html#a10063747 Sent from the Solr - User mailing list archive at Nabble.com.