[elephant-devel] Re: traversing btree using multiple indices
Alex Mizrahi
killerstorm at newmail.ru
Fri Apr 4 12:20:50 UTC 2008
SR> What is the best/easiest/most-elephantish way to retrieve all events
SR> in the btree which have the 'lisp' tag and whose date falls on today?
so you have lots of possible tags and many tags per event?
then you need a btree with entry for each event for each tags, that is
(<tag, date> -> event_id) btree.
just as with SQL you'd need (tag, date, event_id) table.
as elephant cannot sort tuples, you need to convert them to strings as i've
noted before.
More information about the elephant-devel
mailing list