A Giter8 template for describing how to build autocomplete search on the Elasticsearch.
#Pre-Requisites for this project
i) Download the latest version of Elasticsearch official distribution and unzip it.
ii) Run the following command.
$ ./bin/elasticsearch
Clone the code:
$ git clone git@github.com:knoldus/activator-play-elasticsearch-autocomplete.git
$ cd activator-play-elasticsearch-autocomplete
###Indexing:
i) Create an index named movie with mapping(extra/es-mapping.json located in project home directory):
$ curl -XPOST 'http://localhost:9200/movie' --data-binary @extra/es-mapping.json
ii) Ingest the movies in the index:
$ curl -XPOST 'http://localhost:9200/_bulk' --data-binary @extra/movies.json
$ ./bin/activator run
####Run the all unit test:
$ ./bin/activator test
Written in by [other author/contributor lines as appropriate]
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this template to the public domain worldwide. This template is distributed without any warranty. See http://creativecommons.org/publicdomain/zero/1.0/.