
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
= rsolr-direct rsolr-direct enhances the RSolr core library by adding the ability to connect to Solr directly, using JRuby, sans http. Hotdog!
= How Check out the specs to see the various connection methods.
== Solr Java libs/jars RSolr-Direct comes with the required Solr jars. If you'd like to use them, just call #load_java_libs: require 'rsolr-direct' RSolr::Direct.load_java_libs "path/to/solr/distribution"
==:solr_home require 'rsolr-direct' connection = RSolr.direct_connect( :solr_home => '/absolute/path/to/solr/home', :data_dir => "/optional/path/to/data/dir")
==Java::OrgApacheSolrCore::SolrCore require 'rsolr-direct' core = org.apache.solr.core.SolrCore.new(nil, solr_data_path, solr_config, index_schema, dcore) connection = RSolr.direct_connect core
==Java::OrgApacheSolrServlet::DirectSolrConnection require 'rsolr-direct' dc = org.apache.solr.servlet.DirectSolrConnection.new(solr_home_path, solr_data_path, solr_log_path) connection = RSolr.direct_connect dc
= Why Using a direct connection to Solr can speed up indexing. How much faster? A page on the Solr Wiki says ~ 50% faster.
= Testing Clone it, cd into the project dir and run: jruby -S rake spec
== Note on Patches/Pull Requests
== Copyright
Copyright (c) 2010 Matt Mitchell. See LICENSE for details.
FAQs
Unknown package
We found that rsolr-direct demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.