incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Naryshkin <konstant...@a-bb.net>
Subject Re: Best way to search content in Cassandra
Date Fri, 28 Oct 2011 13:26:09 GMT
You can do a column slice for columns between "image/" (the first
ASCII string that starts with that sub-string) and "image/~" (the last
printable ASCII string that starts with that sub-string).

On Thu, Oct 27, 2011 at 21:10, Jean-Nicolas Boulay Desjardins
<jnbdzjnbdz@gmail.com> wrote:
> Normally in SQL I would use "%" operator to get what looks like what I
> am searching.
>
> Example:
>
> [...] type = "image/%"
>
> It would give me all the rows that have a column type with "image/" in it.
>
> So those would show up:
>
> image/png
> image/gif
> ...
>
> Is there anything similar with Cassandra?
>
> I am also using Solandra... But I doubt that Solandra is made for that.
>
> Are there any extensions or technics I could use?
>
> Thank you allot in advance for any tips.
>

Mime
View raw message