Class: Sunspot::Search::AbstractSearch
- Inherits:
-
Object
- Object
- Sunspot::Search::AbstractSearch
- Defined in:
- lib/plugins/ext/sunspot/abstract_search.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
4 5 6 7 8 9 |
# File 'lib/plugins/ext/sunspot/abstract_search.rb', line 4 def execute reset params = @query.to_params @solr_result = @connection.post "#{request_handler}", :data => params, :headers => {'Content-Type' => 'application/x-www-form-urlencoded; charset=UTF-8'} self end |