Permalink
Browse files

requests now use POST

  • Loading branch information...
1 parent e10f893 commit 8e922bb92b3269919d6ac9329cb3dcb9f1ed263b @samdalton committed Feb 15, 2012
Showing with 3 additions and 2 deletions.
  1. +2 −1 lib/solrsan/search.rb
  2. +1 −1 lib/solrsan/version.rb
View
@@ -29,7 +29,8 @@ def search(search_params={})
solr_params = parse_params_for_solr(search_params)
begin
- solr_response = solr.paginate(start, rows, 'select', :params => solr_params)
+ #solr_response = solr.select :data => solr_params, :method => :post
+ solr_response = solr.paginate(start, rows, 'select', { :params => solr_params, :method => :post })
parse_solr_response(solr_response)
rescue RSolr::Error::Http => e
{:docs => [],
View
@@ -1,3 +1,3 @@
module Solrsan
- VERSION = "0.3.3"
+ VERSION = "0.4.0"
end

0 comments on commit 8e922bb

Please sign in to comment.