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
CLONE, FORK, GAZE AT CODE: https://github.com/fergiemcdowall/solrstrap/
What does Solrstrap do?
Solrstrap takes search queries and displays search results. It also features:
- Instant search
- Infinite scrolling
- Restful interface (you can link directly to /solrstrap.html?q=doughnuts)
- Functioning history
Solrstrap is probably the fastest available rendering engine for Solr.
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.
What is Solrstrap made of?
- 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)
- 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: http://blog.comperiosearch.com/blog/author/fmcdowall/