incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tristan Seligmann <>
Subject Re: IllegalArgumentException on query with AbstractCompositeType
Date Sun, 14 Jul 2013 22:52:47 GMT
On Mon, Jul 15, 2013 at 12:26 AM, aaron morton <>wrote:

> Aaron Morton can confirm but I think one problem could be that to create
> an index on a field with small number of possible values is not good.
> Yes.
> In cassandra each value in the index becomes a single row in the internal
> secondary index CF. You will end up with a huge row for all the values with
> false.
> And in general, if you want a queue you should use a queue.

This would seem to conflict with the advice to only use secondary indexes
on fields with low cardinality, not high cardinality. I guess low
cardinality is good, as long as it isn't /too/ low?
mithrandi, i Ainil en-Balandor, a faer Ambar

View raw message