Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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