Thanks for the pointers guys:

@eric - Am not sure the python library lets me do that - looking at the docs
and playing with the object this morning. I probably can't query by that
header at a later stage though can I?

@siculars - Thanks for that - I think that's the option I'm going to go for
- is it a bit weird to be creating another set that just holds pointers to
another object for the sake of a date? Is there a more "riakful" way of
achieving what I'm setting out to do?

Cheers
Andrew

On Sat, Oct 22, 2011 at 1:14 AM, Alexander Sicular <[email protected]>wrote:

> Use a secondary index when writing the key.
>
> Otherwise the only date you get is last modified date as seen in the
> header. Although that date is not indexed and would only work in your use
> case if your link write was your last write to that key.
>
> Cheerios,
> Alexander
>
>
> @siculars on twitter
> http://siculars.posterous.com
>
> Sent from my iRotaryPhone
>
>
> On Oct 21, 2011, at 1:14, Andrew Fisher <[email protected]> wrote:
>
>  Hi all,
>>
>> I'm using the python bindings for Riak so there may be an element of this
>> being obscured due to the library.
>>
>> I'm creating a link between two objects - I can establish it, query it and
>> tag it so that part is working great. What I want to do now is determine the
>> date/time a link was created between the two objects. That way I could
>> generate a job that says get me all the objects of bucket A that are linked
>> to bucket B that were linked at time X (and potentially date ranging down
>> the line as well but walk then run).
>>
>> Is this doable? Am I looking in the wrong place by looking at the data
>> available on the link itself?
>>
>> Kind regards
>> Andrew
>> ______________________________**_________________
>> riak-users mailing list
>> [email protected]
>> http://lists.basho.com/**mailman/listinfo/riak-users_**lists.basho.com<http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com>
>>
>


-- 

*Andrew Fisher*

Chief Technology Officer



[image: Description: http://jbadigital.com/images/email_footer.jpg]



*JBA Online Consultancy*




W:  www.jbadigital.com

A:   Level 1, 2 Darling Street, South Yarra, Melbourne, 3141





The information contained in this email is confidential and is intended for
the use of the individual or entity named above.  If the receiver of this
message is not the intended recipient, you are hereby notified that any
dissemination, distribution or copy of this email is strictly prohibited.
If you have received this e-mail in error, please notify our office by
telephone. JB/A and their employees do not represent that this transmission
is free from viruses or other defects and you should see it as your
responsibility to check for viruses and defects.  JB/A disclaims any
liability to any person for loss or damage resulting (directly or
indirectly) from the receipt of electronic mail (including enclosures).

<<image001.jpg>>

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to