Solrstrap is a Query-Result interface for Solr written in JavaScript, HTML and CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


Solrstrap is a Query-Result interface for Solr. Solrstrap is intended to be a starting point for those building web interfaces that talk to Solr, or a very lightweight admin tool for querying Solr in a Googleish fashion.

DOWNLOAD: Latest stable release- Solrstrap 0.3



What does Solrstrap do?

Solrstrap takes search queries and displays search results. It also features:

  • Instant search
  • Infinite scrolling
  • Facets
  • Restful interface (you can link directly to /solrstrap.html?q=doughnuts)
  • Functioning history

Solrstrap is probably the fastest available rendering engine for Solr.

This is because it does everything in Javascript, CSS and HTML on the client side. JSON is shot back from the server and interpeted by the web browser.

Solrstrap therefore requires much less server power and bandwidth than standard search-middleware applications.

Installation, How do I make it work?

Optionally edit SERVERROOT in /js/solrstrap.js to point to the "select" endpoint of your solr instance, and HITTITLE/HITBODY to reference the appropriate fields in your index

Click on /solrstrap.html.

Thats it.

What is Solrstrap made of?

Solrstrap is lovingly crafted from Bootstrap and Handlebars.


  • Requires only local installation- very easy to set up
  • Access to all Bootstrap functionality. Can be easily extended in a Bootstrappy way.
  • Blazing fast
  • Uses very little bandwidth


  • Designed for "open" solr instances- needs clear access to /select/q=.
  • SEO basically non-existant
  • Will (probably) not work on truly ancient browsers (IE 7 and below)

Future releases

  • Some form of arrow key functionality...
  • Meaningful error messages and sanity checks...
  • Nicer code


Copyright 2013 Fergus McDowall

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


Follow/contact me on Twitter @fergiemcdowall

I write articles about search engine technology here: