[ham] Re: [Zope3-dev] personal conceptual questions
Gary Poster
gary@modernsongs.com
Wed, 07 May 2003 14:43:30 -0400
Hi Marcus. It's not that easy yet. A unified way to organize indexes
and ask questions of them have not landed yet. That's why you're
frustrated. :-) SteveA has a pipeline approach that has been cooking
for several months. I had a query object approach that could be used to
power various OQL-type queries such as the one you proposed; maybe that
will become an available resource within Steve's service when it lands.
For now, you're probably going to have to use some of the lower-level
approaches that other folks have mentioned. Nobody thinks this is
ideal. It's just where we are right now.
Gary
Marcus J. Ertl wrote:
> On Wed, 7 May 2003 09:24:04 -0400, Paul Winkler wrote:
>
> Hi!
>
>
>>what's wrong with building indexes?
>
>
> Nothing!
>
>
>>sure, building an index the first
>>time is slow, but after that you can get the catalog to keep itself
>>up to date
>
>
> They told me nothing about catalogs, the gave me as hint, I should use
> btrees to store the information I need, and hold it up to date by using
> events!
>
> This way, I had to construct a btrees for each "type of search" I want
> to do...
>
> That's at all not terrible hard to do, but I'm shure, something like
> finding objects is that important, tha a programmer of applications
> shouldn't take care about. Zope should provide him with an easy way to
> do it!
>
>
>>results = context.SomeCatalog(owner='myself', workflow_state='pending',
>> sort_on = 'bobobase_modification_time')
>
>
> If it would be realy that easy, I take back my mail, and start using
> it!
>
> Bye
> Marcus
>