We already discussed how the Like % clause is potentially harmful for your application at scale, and why you should consider using Couchbase Full-Text Search instead. One thing we haven’t mentioned yet is why you might prefer Couchbase FTS over any other FTS Engine in the market.

Apart from the fact that using Couchbase FTS is simpler in terms of setup, as you can leverage the infrastructure you already have for your database. You can combine the power of N1QL and FTS in a single statement:

Check out the complete tutorial here. We will build a simpler version of the application built during this talk, which is a basic search engine for movies.


Posted by Denis Rosa, Developer Advocate, Couchbase

Denis Rosa is a Developer Advocate for Couchbase and lives in Munich - Germany. He has a solid experience as a software engineer and speaks fluently Java, Python, Scala and Javascript. Denis likes to write about search, Big Data, AI, Microservices and everything else that would help developers to make a beautiful, faster, stable and scalable app.

Leave a reply