Skip to main content

ElasticSearch Integration

  • Chapter
Pro Couchbase Server

Abstract

So far, you have seen how to use views and N1QL to query your data in Couchbase Server. Both of these techniques have strengths and weaknesses, but the one thing they have in common is that they focus on finding exact matches for values. For example, in Chapter 5, you used a view to retrieve rants based on ranters ranting about them. To do so, you indexed the value of the rantAbout.userName property and used the username of ranters to search the index. This kind of querying is typical for most database systems, which allow you to search based on exact values. But sometimes, exact values are not enough. Just as with most social applications, RanteR must allow its users to search for rants and ranters based on more flexible parameters, such as some of the rant content.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 David Ostrovsky, Mohammed Haji, and Yaniv Rodenski

About this chapter

Cite this chapter

Ostrovsky, D., Haji, M., Rodenski, Y. (2015). ElasticSearch Integration. In: Pro Couchbase Server. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1185-4_8

Download citation

Publish with us

Policies and ethics