O'Reilly logo

Pro Couchbase Server by Yaniv Rodenski, David Ostrovsky

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 8

image

ElasticSearch Integration

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 databases system, which allow you to search based on exact values. But sometimes exact values are not enough. Just like ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required