"Cassandra is a highly scalable, eventually consistent, distributed, structured 
key-value store" http://wiki.apache.org/cassandra/
It is intended for searching by key. It has more querying options but it really 
shines when querying by key.

Not all databases offer the same functionality. Both a knife and a fork are 
eating utensils, but you wouldn't want to cut a tomato with a fork.
There are text-indexing databases out there that might suit your needs better. 
Try elasticsearch.

-----Original Message-----
From: anton [mailto:anto...@gmx.de] 
Sent: Tuesday, July 21, 2015 7:54 PM
To: user@cassandra.apache.org
Subject: howto do sql query like in a relational database

Hi,

I have a simple (perhaps stupid) question.

If I want to *search* data in cassandra, how could find in a text field all 
records which start with 'Cas' 
( in sql I do select * from table where field like 'Cas%')

I know that this is not directly possible.

 - But how is it possible?

 - Do nobody have the need to search text fragments,
   and if not is there a small example to explain
   *why* this is not needed?

As far as I understand, databases are great for *searching* data. Concerning 
numerical data in cassandra I can use < > = all that operators.

Is cassandra intended to be used for mostly numerical data?

I did not catch the point up to now, sorry.

 Anton


Reply via email to