https://github.com/bearddan2000/scala-web-maven-spring-jsp-single-node-zookeeper-solr-simple
A jsp springboot scala maven build,
https://github.com/bearddan2000/scala-web-maven-spring-jsp-single-node-zookeeper-solr-simple
Last synced: about 1 year ago
JSON representation
A jsp springboot scala maven build,
- Host: GitHub
- URL: https://github.com/bearddan2000/scala-web-maven-spring-jsp-single-node-zookeeper-solr-simple
- Owner: bearddan2000
- Created: 2023-01-14T05:09:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-14T05:09:18.000Z (over 3 years ago)
- Last Synced: 2025-03-24T11:30:40.098Z (over 1 year ago)
- Language: Shell
- Homepage: https://github.com/bearddan2000/scala-web-maven-spring-jsp-single-node-zookeeper-solr-simple
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scala-web-maven-spring-jsp-single-node-zookeeper-solr-simple
## Description
A jsp springboot scala maven build,
that connects to solr database single node cluster.
To create the `dog` collection we use a runner
to remotely issue `solr create_collection -c` to
node 1.
Zookeeper is used for replication across
the single node cluster.
## Tech stack
- springboot
- jsp
- maven
- solr drivers
- lombok
- PostConstruct annotation
- bootstrap
- jquery
- dataTable
- zookeeper
## Docker stack
- solr:8.2
- zookeeper:3.5
- maven:3-openjdk-17
## To run
`sudo ./install.sh -u`
- [Available](http://localhost)
- [Node 1 solr webui](http://localhost:8981)
## To stop (optional)
`sudo ./install.sh -d`
## For help
`sudo ./install.sh -h`
## Credits
- [Baeldung code](https://github.com/eugenp/tutorials/tree/master/persistence-modules/spring-data-solr)
- [Springboot code](https://scaladeveloperzone.com/spring-boot/spring-boot-solr-example/)
- [Spring data config](https://www.google.com/search?client=firefox-b-1-lm&q=spring+boot+solr+example)
- [Cluster setup](https://gist.github.com/makuk66/0812f70b77aa92230c203cec41acac64#file-docker-compose-yml-L64)
- [Example solr queries](https://docs.spring.io/spring-data/solr/docs/1.0.x/reference/html/solr.repositories.html)