Re: @RiakIndex annotated field is not stored as part of value

2015-01-27 Thread Christopher Meiklejohn
> On Jan 27, 2015, at 5:46 AM, Santi Kumar wrote: > > HI Chris > I cant send the code publicly so I tested with couple more examples.If I > annotate the field with "secretKey" or "authSecret", then those field values > are becoming null in the object. > > If I change the key with "indexKey" o

Re: @RiakIndex annotated field is not stored as part of value

2015-01-27 Thread Santi Kumar
HI Chris I cant send the code publicly so I tested with couple more examples.If I annotate the field with "secretKey" or "authSecret", then those field values are becoming null in the object. If I change the key with "indexKey" or some thing then it's part of the object state. I have modified acco

Re: @RiakIndex annotated field is not stored as part of value

2015-01-26 Thread Christopher Meiklejohn
> On Jan 26, 2015, at 5:48 PM, Santi Kumar wrote: > > Yes. I'm using POJO and annotating one of the field with RiakIndex. When I'm > reading the object with the key, as the tag field is not part of the object, > while writing I dont have the tag value while writing the object. > > Class Foo {

Re: @RiakIndex annotated field is not stored as part of value

2015-01-26 Thread Santi Kumar
Yes. I'm using POJO and annotating one of the field with RiakIndex. When I'm reading the object with the key, as the tag field is not part of the object, while writing I dont have the tag value while writing the object. Class Foo { private String fooId; @RiakIndex(name="barid") private String b

Re: @RiakIndex annotated field is not stored as part of value

2015-01-26 Thread Christopher Meiklejohn
> On Jan 26, 2015, at 09:45, Santi Kumar wrote: > > Hi > I'm defining a field of an object as 2i index with @RiakIndex. While creating > the object I initialised both the values and stored the object against the > key of that object and stored against the index. > > In a separate thread anot

@RiakIndex annotated field is not stored as part of value

2015-01-26 Thread Santi Kumar
Hi I'm defining a field of an object as 2i index with @RiakIndex. While creating the object I initialised both the values and stored the object against the key of that object and stored against the index. In a separate thread another field of the object is updated where I dont have handle to the 2