Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Like operator in cassandra

In SQL, we have an option to specify the LIKE operator in the where clause. Is there something like that in Cassandra? I am building a search feature for my site. All the data resides on Cassandra. So, it would be easier to search for keywords with LIKE operator.

like image 224
sarghau Avatar asked Feb 26 '26 17:02

sarghau


1 Answers

No.You dont have such feature in cassandra. You gotto create a search engine on the data that is stored in cassandra to index the entries in cassandra may be. Cassandra serves as a container to hold your data and does not provide such features like full text search yet(I doubt if they will really as the storage is across SSTables).

like image 158
Ananth Avatar answered Mar 02 '26 14:03

Ananth



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!