mirror of
https://github.com/stevenferrer/multi-select-facet.git
synced 2025-11-23 21:54:45 +02:00
fe3169f05f83b86ed9f0040802e1a3d4de8b25eb
Multi-Select Facet Example
An example of multi-select facet using Solr, Vue and Go.
Blog post: Multi-Select Facet with Solr, Vue and Go
Running the example
- Run Solr in
docker.
$ make solr
Or using podman.
$ DOCKER=podman make solr
The above commands starts Solr container and pre-creates multi-select-facet-demo collection.
Wait for a few seconds until Solr has completed loading.
- Run the API
// cd to api
$ cd cmd/api
// build the api
$ go build -v
// start the api
$ ./api -init-schema -index-data -init-suggester
- Run the web app (open a new terminal tab)
// cd to web app folder
$ cd webapp
// install dependencies
$ yarn // or npm install
// start the web app
$ yarn serve // or npm run serve
- Open http://localhost:8080 in your browser and start playing with it!
Contributing
Please feel free to improve this by sending a PR or opening an issue.
License
MIT
Languages
Go
63.2%
Vue
30.6%
HTML
3%
JavaScript
1.6%
Makefile
1.6%
