Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

note about closing connection for SolrDirectConnection

  • Loading branch information...
commit 298633c05f8f04a6372772a8085301724c0746db 1 parent d5e52ac
@mwmitchell mwmitchell authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  README.rdoc
View
1  README.rdoc
@@ -35,6 +35,7 @@ To use a DirectSolrConnection (no http) in JRuby:
# note: you'll have to close the direct connection yourself unless using a block.
solr = RSolr.direct_connect(opts)
solr.select :q=>'*:*'
+ solr.connection.close
# OR using a block for automatic connection closing:
RSolr.direct_connect opts do |solr|
Please sign in to comment.
Something went wrong with that request. Please try again.