How do I connect PostgreSQL data of a project to the Elasticsearch server database?

Our project data is stored in postgresql database. We are trying to use elasticsearch for the search functionality.

Please tell me the ways to implement search functionality using elasticsearch.

regards
Kartheek Gummaluri

Logstash JDBC input might help.

Also you can read http://david.pilato.fr/blog/2015/05/09/advanced-search-for-your-legacy-application/