Sometimes you just want ElasticSearch to work for a minute.
compile "com.montesinnos.friendly:friendly-elasticsearch:0.1.2-SNAPSHOT"
Gradle Repository configuration
repositories {
mavenCentral()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
Just want to get some ElasticSearch clusters or queries out and don't care so much about learning the specifics? Use this library! Or even better, get this library and update it to have the best practices you know and love.
- Fast to get stuff done
- Easy to prototype or PC
- Ignore exceptions if that's your philosophy
There's a docker installation of an ElasticSearch cluster in the /docker folder. To run as is:
docker-compose upThis will deploy a 3-node cluster with 2GB of memory for each. It can be accessed at localhost:9200 Kibana will also be installed. Find it at localhost:5601
Unit tests can be run direct from the IDE (tested on IntelliJ).
Integration tests need a docker deployment. Just run the bash script test-env.sh in the root folder of the project
./text-even.sh
https://oss.sonatype.org/content/repositories/snapshots/com/montesinnos/lazy/friendly-elasticsearch/
gpg --export-secret-keys >~/.gnupg/secring.gpg