Vijayakumar
Vijayakumar

Reputation: 69

How to use like query in cassandra CQL?

I am a novice programmer to cassandra. I want to search records from cassandra database based on some text. For example I want to search records which are all contains "test". How can achieve this in cassandra.

Simply how to use mysql LIKE in cassandra ? Is there any other alternative for this ?

Upvotes: 1

Views: 702

Answers (1)

ShauTzin
ShauTzin

Reputation: 21

LIKE isn't supported in Cassandra

The only way to do this efficiently is to use a full-text search engine like https://github.com/tjake/Solandra (Solr-on-cassandra)

Upvotes: 2

Related Questions