Skip to content

Latest commit

 

History

History
67 lines (37 loc) · 1.81 KB

File metadata and controls

67 lines (37 loc) · 1.81 KB

A Giter8 template for describing how to build autocomplete search on the Elasticsearch.

About

#Pre-Requisites for this project

i) Download the latest version of Elasticsearch official distribution and unzip it.

ii) Run the following command.

    $ ./bin/elasticsearch

###Getting Started:

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

Start App:

    $ ./bin/activator run

####Run the all unit test:

    $ ./bin/activator test

###All the Screens :-

Home Page :

alt-tag

Movie Search :

alt-tag

Template license

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/.