Skip to content

stevenferrer/multi-select-facet

Repository files navigation

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

screenshot

Running the example

  1. Run Solr using podman.
$ make start-solr

Or using docker.

$ PODMAN=docker make start-solr
  1. Run the API
// build the api
$ go build -v -o api

// start the api with the initialization options
$ ./api -create-collection -init-schema -index-data -init-suggester
  1. 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
  1. Open http://localhost:8080 in your browser and start playing with it!

Contributing

Feel free to improve this project by make a pull-request or opening an issue.

License

MIT