Am 07.03.2011 02:10, schrieb Tyler Hobbs:
You want to add an index on a CF with TimeUUIDType column names? I
think you've probably mistaken the purpose of compare_with.
If you haven't, I think you'll need to add the index programmatically
in order to specify a non ascii/unicode column name for
On Sun, Mar 6, 2011 at 4:49 PM, Jürgen Link wrote:
> Hi Roshan,
> thanks for your post. I quickly ran over it, and the only difference I can
> actually see is the compare_with type (we use TimeUUIDType).
>
> Any other suggestions, anyone?
>
You want to add an index on a CF with TimeUUIDType colu
Hi Roshan,
thanks for your post. I quickly ran over it, and the only difference I
can actually see is the compare_with type (we use TimeUUIDType).
Any other suggestions, anyone?
Am 06.03.2011 12:24, schrieb Roshan Dawrani:
Hi,
Sure. Here is a sample of how we define it at the end of cassan
On Sun, Mar 6, 2011 at 4:54 PM, Roshan Dawrani wrote:
>
>
> --
> keyspaces:
> - name: firstname
> validator_class: UTF8Type
> index_type: KEYS
Hi,
Sure. Here is a sample of how we define it at the end of cassandra.yaml.
In the keyspace MyApp, it defines a column family MyUser, that has secondary
indexes on 2 String columns - firstname, and lastname.
Does it help?
Hi Roshan,
could you please post a small sample from your yaml file?
As documentation of indexes is quite sparse, we're grateful for any
working example.
Cheers
Jürgen
Am 04.03.2011 19:27, schrieb Roshan Dawrani:
On Fri, Mar 4, 2011 at 11:52 PM, Jürgen Link
mailto:juergen.l...@googlemail.com>
On Fri, Mar 4, 2011 at 11:52 PM, Jürgen Link wrote:
> Hi Jonathan,
> as Roland is already out of office, I'd like to jump in.
> Maybe this somehow got lost in the moddle of this thread, indexing works
> fine in our "real" cassandra cluster.
> For our test cases, we use an embedded cassandra instan
Hi Jonathan,
as Roland is already out of office, I'd like to jump in.
Maybe this somehow got lost in the moddle of this thread, indexing works
fine in our "real" cassandra cluster.
For our test cases, we use an embedded cassandra instance, which is
configured via yaml.
In case indexes cannot be
On Fri, Mar 4, 2011 at 10:09 AM, Roland Gude wrote:
> Hi again,
>
> I am still suffering from this error (which severely limits testability for
> me right now). Doesn't anybody have an idea, why IndexSliceQueries work if
> the index is created with cassandra-cli and why it does not if the index
;> [jetlang-0.2.1.jar:na]
>>
>> at java.lang.Thread.run(Thread.java:619) [na:1.6.0_17]
>>
>> Caused by: org.apache.cassandra.thrift.InvalidRequestException: null
>>
>> at
>> org.apache.cassandra.thrift.Cassandra$get_indexed_slices_result.read(Cas
2.1.jar:na]
>>
>> at java.lang.Thread.run(Thread.java:619) [na:1.6.0_17]
>>
>> Caused by: org.apache.cassandra.thrift.InvalidRequestException: null
>>
>> at
>> org.apache.cassandra.thrift.Cassandra$get_indexed_slices_result.read(Cassandra.java:13299)
>> ~[ca
ser@cassandra.apache.org
> Betreff: Re: cant seem to figure out secondary index definition
>
>
>
> Ah, ok. I checked that in source and the problem is that you wrote
> "validation_class" but you should "validator_class".
>
>
>
> Augi
>
> 20
ail.com]
Gesendet: Dienstag, 15. Februar 2011 16:22
An: user@cassandra.apache.org
Betreff: Re: cant seem to figure out secondary index definition
Ah, ok. I checked that in source and the problem is that you wrote
"validation_class" but you should "validator_class".
Augi
2011
Thanks, it works.
roland
Von: Michal Augustýn [mailto:augustyn.mic...@gmail.com]
Gesendet: Dienstag, 15. Februar 2011 16:22
An: user@cassandra.apache.org
Betreff: Re: cant seem to figure out secondary index definition
Ah, ok. I checked that in source and the problem is that you wrote
g, 15. Februar 2011 15:53
> *An:* user@cassandra.apache.org
> *Betreff:* Re: cant seem to figure out secondary index definition
>
>
>
> Hi,
>
>
>
> if you download Cassandra and look into "conf/cassandra.yaml" then you can
> see this:
>
>
>
> "
ichal Augustýn [mailto:augustyn.mic...@gmail.com]
Gesendet: Dienstag, 15. Februar 2011 15:53
An: user@cassandra.apache.org
Betreff: Re: cant seem to figure out secondary index definition
Hi,
if you download Cassandra and look into "conf/cassandra.yaml" then you can see
this:
"this ke
Hi,
if you download Cassandra and look into "conf/cassandra.yaml" then you can
see this:
"this keyspace definition is for demonstration purposes only. Cassandra will
not load these definitions during startup. See
http://wiki.apache.org/cassandra/FAQ#no_keyspaces for an explanation."
So you shoul
Hi,
i am a little puzzled on creation of secondary indexes and the docs in that
area are still very sparse.
What I am trying to do is - in a columnfamily with TimeUUID comparator, I want
the "special" timeuuid --1000-- to be indexed. The
value being some UTF8 string
18 matches
Mail list logo