Integrating RethinkDB with ElasticSearch
To perform real-time full text search, it is recommended to use ElasticSearch-a database made for searches. ElasticSearch is a very advanced search database based on Apache Lucene, which allows you to perform full text searches efficiently.
Before we go ahead with integration, let's look over some basics of ElasticSearch.
Introducing ElasticSearch
ElasticSearch is real-time, distributed, document-oriented, and full-text-based search database. It provides you with immediate search availability with very easy-to-use RESTful APIs.
ElasticSearch is based upon Apache Lucene but with more advanced features, such as geo-location, did-you-mean search suggestion, autocomplete, and much more. It also provides schemaless architecture so that you can start very quickly; just dump your existing data in ElasticSearch as documents and it will make it searchable in no time, just like that!
In order to begin with ElasticSearch, let me explain you some terms and what they...