Module: RSolr::Ext
- Defined in:
- lib/rsolr-ext.rb
Defined Under Namespace
Modules: Connection, Doc, Model, Request, Response
Constant Summary collapse
- VERSION =
'0.9.5'
Class Method Summary collapse
-
.connect(*args) ⇒ Object
c = RSolr::Ext.connect c.find(:q=>‘:’).docs.size.
Class Method Details
.connect(*args) ⇒ Object
c = RSolr::Ext.connect c.find(:q=>‘:’).docs.size
34 35 36 37 38 |
# File 'lib/rsolr-ext.rb', line 34 def self.connect(*args) connection = RSolr.connect(*args) connection.extend RSolr::Ext::Connection connection end |