Skip to content

This is sbt project which explain how to write elasticsearch aggregation query with sorting using java client.

Notifications You must be signed in to change notification settings

techmonad/elasticsearch-aggregations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elasticsearch-aggregations

This is sbt project which explain how to write elasticsearch aggregation query with sorting using java client.

Elasticsearch Setup

i) Download the Elasticsearch 2.4.4 or latest version and unzip it.

ii) Run the following command

    $ bin/elasticsearch

Getting Started:

Clone and run app:

$ git clone git@github.com:techmonad/elasticsearch-aggregations.git
$ cd elasticsearch-aggregations/src/main/resources
$ sh create_index.sh
$ sh insert.sh
$ cd ../../../
$ sbt run

About

This is sbt project which explain how to write elasticsearch aggregation query with sorting using java client.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published