Skip to content

This is a Play activator project. It's describe how to build autocomplete search on the Elasticsearch.

License

Notifications You must be signed in to change notification settings

NashTech-Labs/activator-play-elasticsearch-autocomplete.g8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This is a Play activator project. It's describe how to build autocomplete search on the Elasticsearch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published