Skip to content
Blacklight provides a discovery interface for any Solr ( index.
Ruby HTML XSLT JavaScript CSS Shell
Find file
Latest commit 3cea231 @awead awead Merge pull request #1380 from projectblacklight/rails5
Bump Rails version to 5.0.0.beta2
Failed to load latest commit information.
app make pagination span full width
config Add frozen_string_literals pragma
db/migrate Add frozen_string_literals pragma
lib update blacklight-marc dependency for use in BL 6.0
solr update solr schema and config to have suggest functionality
spec Bump Rails version to 5.0.0.beta2
tasks Allow arguments to be passed to blacklight:server rake task
.gitignore Vagrantfile and bash provisioning script
.hound.yml Specify AirBnb javascript style guide
.jshintrc Specify AirBnb javascript style guide
.rspec Simpler tests
.rubocop.yml Use rubocop to enforce code style
.rubocop_hound.yml Use rubocop to enforce code style
.rubocop_todo.yml Raise the rubocop maximum module length to match existing practice
.travis.yml Bump Rails version to 5.0.0.beta2
.yardopts .yardopts file will tell to include source in app/, and to …
Gemfile Testing with Rails edge
LICENSE update LICENSE file Update readme with the dependency changes
Rakefile Remove blacklight-marc as a dependency for blacklight
VERSION Bump version to 6.0.1
Vagrantfile Vagrantfile and bash provisioning script
blacklight.gemspec Blacklight requires Ruby 2.1+ update to Java 8 and add some documentation to the vagrant provision …
template.demo.rb Add frozen_string_literals pragma


Build Status Gem Version

Blacklight is an open source Solr user interface discovery platform. You can use Blacklight to enable searching and browsing of your collections. Blacklight uses the Apache Solr search engine to search full text and/or metadata. Blacklight has a highly configurable Ruby on Rails front-end. Blacklight was originally developed at the University of Virginia Library and is made public under an Apache 2.0 license.


Add Blacklight to your Gemfile:

gem "blacklight"

Run the install generator which will copy over some initial templates, migrations, routes, and configuration:

rails generate blacklight:install

Documentation, Information and Support


  • ruby v2.0 or higher
  • git
  • access to a command prompt on the machine to install

In addition, you must have the Bundler and Rails 4.1 (or greater) gems installed. Other gem dependencies are defined in the blacklight.gemspec file and will be automatically loaded by Bundler.

Configuring Apache Solr

You'll also want some information about how Blacklight expects Apache Solr to run, which you can find in README_SOLR

Something went wrong with that request. Please try again.