1
0
mirror of https://github.com/stevenferrer/multi-select-facet.git synced 2025-11-23 21:54:45 +02:00
Go to file
Steven Ferrer d6bc9369d9 update solr-go to latest version
- minor updates on README.md
2020-09-28 12:34:51 +08:00
2020-07-24 19:12:31 +08:00
2020-06-09 19:15:43 +08:00
2020-09-28 12:34:51 +08:00
2020-09-28 12:34:51 +08:00
2020-06-08 23:24:42 +08:00
2020-06-28 18:19:16 +08:00
2020-09-28 12:34:51 +08:00
2020-06-30 16:07:03 +08:00

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 in docker.
$ make solr

Wait for a few seconds while Solr is loading.

  1. 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
  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

Please feel free to improve this by sending a PR or opening an issue.

License

MIT

Description
Languages
Go 63.2%
Vue 30.6%
HTML 3%
JavaScript 1.6%
Makefile 1.6%