An example single-page search app using React and Solr.
This is my first attempt at writing an app in React.js. It implements a simple faceted search over the techproducts example index in Solr 6.
To run the app:
- Download and install Solr 6.
- Enable CORS on Solr by following these instructions.
- Run the techproducts example:
- $ bin/solr start -e techproducts
- Install app dependencies:
- $ npm install
- Start the webpack dev server:
- $ npm start
- Point a browser to localhost:8080/index.html
- Search for everything by typing : in the search box and hitting return.
- Try other searches and selecting some facets.