Before you can work with Couchbase and Elasticsearch, you will need to set up Couchbase Plug-in for Elasticsearch, Couchbase 2.0 cluster and an Elasticsearch cluster. After you install the two different clusters, start them. The Couchbase cluster will store any items from your application, and will send replicas of these items to the Elasticsearch cluster for indexing. Your Couchbase cluster can contain one or more instances of Couchbase server, and your Elasticsearch cluster can contain one or more instances of the search engine. For more information about setting up and using these two components, check the following:
Couchbase Plug-in for Elasticsearch: be aware that this plug-in is compatible with Elasticsearch 0.20
Couchbase Server Requirements: describes supported platforms, hardware requirements, software requirements, and network settings.
Couchbase Server Install: the server comes with an easy-to-use installer, however you may want further information about platform-specific installation steps.
Elasticsearch Install: installation instructions and system prerequisites for Elasticsearch. Be aware that the Couchbase Plug-in for Elasticsearch has been tested for compatibility with Elasticsearch 0.20.
For now you will probably only need one instance of Couchbase Server running in a cluster and one instance of the Elasticsearch engine. Later as you test your integration under load and deploy your implementation, you will need to add more servers to handle the workload. At this phase, the most important point about the Couchbase Server install is to make sure that you include the beer-sample data which is included as an option in the install. The examples in this guide will build on data contained in the sample. For more information about using sample buckets, see Couchbase Web Console, Installing Sample Buckets .