0

I'm reading sunspot documentation and find that sunspot based on RSolr library. Is there any way to get connection to perform low level request like this pseudo-code:

solr = Sunspot.connection
response = solr.get 'select', :params => {:q => '*:*'}
Volodymyr
  • 1,136
  • 3
  • 11
  • 28

1 Answers1

1

Not as of the current version (1.3.2). Well, you can, but you'd have to instance_eval a few objects to get to the underlying RSolr object. Patches are welcome at http://github.com/sunspot/sunspot — a good accessor method for the RSolr connection would be welcome.

Nick Zadrozny
  • 7,906
  • 33
  • 38
  • Is there an update to this issue? I'm also searching for a way to access the RSolr connection from Sunspot. – 23tux Dec 06 '13 at 18:23