Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stevenferrer/multi-select-facet
An example of multi-select facet with Solr, Vue and Go
https://github.com/stevenferrer/multi-select-facet
apache-solr buefy faceted-search facets go golang multi-select-facet solr solr-go vue vuejs
Last synced: 11 days ago
JSON representation
An example of multi-select facet with Solr, Vue and Go
- Host: GitHub
- URL: https://github.com/stevenferrer/multi-select-facet
- Owner: stevenferrer
- License: mit
- Created: 2020-06-08T15:24:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-11T07:40:26.000Z (over 1 year ago)
- Last Synced: 2024-06-20T00:30:07.582Z (5 months ago)
- Topics: apache-solr, buefy, faceted-search, facets, go, golang, multi-select-facet, solr, solr-go, vue, vuejs
- Language: Go
- Homepage:
- Size: 2.01 MB
- Stars: 33
- Watchers: 4
- Forks: 14
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Multi-Select Facet Example
An example of multi-select facet using [Solr](https://solr.apache.org), [Vue](https://vuejs.org) and [Go](http://go.dev/).Blog post: [Multi-Select Facet with Solr, Vue and Go](https://stevenferrer.github.io/posts/multi-select-facet-solr-vue-go/)
![screenshot](./screenshot.png)
## Running the example
1. Run Solr using [podman](https://podman.io/).
```console
$ make start-solr
```Or using `docker`.
```console
$ PODMAN=docker make start-solr
```2. Run the API
```console
// build the api
$ go build -v -o api// start the api with the initialization options
$ ./api -create-collection -init-schema -index-data -init-suggester
```3. Run the web app (open a new terminal tab)
```console
// cd to web app folder
$ cd webapp// install dependencies
$ yarn // or npm install// start the web app
$ yarn serve // or npm run serve
```4. Open http://localhost:8080 in your browser and start playing with it!
## Contributing
Feel free to improve this project by [make a pull-request](https://github.com/stevenferrer/multi-select-facet/pulls) or [opening an issue](https://github.com/stevenferrer/multi-select-facet/issues).## License
MIT