An example of multi-select facet with Apache Solr, Vue and Go

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.

Download Details:

Author: sf9v

Demo: https://sf9v.github.io/posts/multi-select-facet-solr-vue-go/

Source Code: https://github.com/sf9v/multi-select-facet

#vuejs #vue #javascript #go

An example of multi-select facet with Apache Solr, Vue and Go
14.35 GEEK