Module: Xapit::Client::Membership::AdditionalMethods::ClassMethods
- Defined in:
- lib/xapit/client/membership.rb
Instance Method Summary collapse
- #search(*args) ⇒ Object
- #xapit_index_builder ⇒ Object
- #xapit_model_adapter ⇒ Object
- #xapit_search(*args) ⇒ Object
Instance Method Details
#search(*args) ⇒ Object
35 36 37 |
# File 'lib/xapit/client/membership.rb', line 35 def search(*args) xapit_search(*args) end |
#xapit_index_builder ⇒ Object
27 28 29 |
# File 'lib/xapit/client/membership.rb', line 27 def xapit_index_builder @xapit_index_builder end |
#xapit_model_adapter ⇒ Object
23 24 25 |
# File 'lib/xapit/client/membership.rb', line 23 def xapit_model_adapter @xapit_model_adapter ||= Xapit::Client::AbstractModelAdapter.adapter_class(self).new(self) end |
#xapit_search(*args) ⇒ Object
31 32 33 |
# File 'lib/xapit/client/membership.rb', line 31 def xapit_search(*args) Collection.new.in_classes(self).include_facets(*xapit_index_builder.facets).search(*args) end |