Re: [Zope3-dev] hurry.query in Zope 3.2?

2005-10-31 Thread Dominik Huber

Martijn Faassen wrote:


Hey,

Martijn Faassen wrote:


Would there be any interest in merging hurry.query into Zope 3.2?



Apparently not, or at least people are lacking in time, which is 
understandable as I do too. :) I'll try in more advance for Zope 3.3. 
We find it very useful here at Infrae, but of course it works just 
fine as a stand-alone library too.


Lacking in time
I just read the query.txt and I would appreciate this package.

Dominik
begin:vcard
fn:Dominik Huber
n:Huber;Dominik
email;internet:[EMAIL PROTECTED]
tel;work:++41 56 534 77 30
x-mozilla-html:FALSE
version:2.1
end:vcard

___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] hurry.query in Zope 3.2?

2005-10-31 Thread Gary Poster


On Oct 28, 2005, at 6:18 AM, Martijn Faassen wrote:


Hey,

Martijn Faassen wrote:


Would there be any interest in merging hurry.query into Zope 3.2?



Apparently not, or at least people are lacking in time, which is  
understandable as I do too. :) I'll try in more advance for Zope  
3.3. We find it very useful here at Infrae, but of course it works  
just fine as a stand-alone library too.


Hi Martijn.  Although I'm very interested in hurry.query, yes, I  
don't have available time right now to look at it.


You asked about zc.catalog in your original message, I think.  Yes,  
I'd like to have some of that merged into Zope 3, or at least the  
ideas discussed, but I don't have time for the necessary proposals  
right now.


Gary
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] hurry.query in Zope 3.2?

2005-10-28 Thread Martijn Faassen

Hey,

Martijn Faassen wrote:

Would there be any interest in merging hurry.query into Zope 3.2?


Apparently not, or at least people are lacking in time, which is 
understandable as I do too. :) I'll try in more advance for Zope 3.3. We 
find it very useful here at Infrae, but of course it works just fine as 
a stand-alone library too.


Regards,

Martijn
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] hurry.query in Zope 3.2?

2005-10-28 Thread Stephan Richter
On Friday 28 October 2005 06:18, Martijn Faassen wrote:
 Martijn Faassen wrote:
  Would there be any interest in merging hurry.query into Zope 3.2?

 Apparently not, or at least people are lacking in time, which is
 understandable as I do too. :) I'll try in more advance for Zope 3.3. We
 find it very useful here at Infrae, but of course it works just fine as
 a stand-alone library too.

The reason I did not respond was that I don't use catalogs myself yet, so 
there is no need on my end. I was hoping that other people would speak up, 
especially the ones using catalogs. On the other hand putting it in the trunk 
might give it some needed exposure.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics  Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] hurry.query in Zope 3.2?

2005-10-28 Thread Jeff Shell
I love hurry.query. Whether it's in the core or not doesn't phase me,
but it is really really helpful. We got bit by not realizing that
FieldIndex queries passed directly to the catalog/index had a low and
high range. It was a small bite. But it took us a while to figure out
why searching for 'summer' pages included 'winter' ones, but searching
for 'winter' pages only returned winter. So we put in hurry.query. And
were able to do it without depending on zc.catalog. It made the
catalog experience a lot nicer.

I'd put my vote behind inclusion. While the catalog is certainly
cleaner and easier to understand than the Zope 2 catalog, querying it
is still kindof a pain, which is mentioned in
zope.index.interfaces.IIndexSearch

TODO
This is somewhat problemetic. It means that application
code that calls apply has to be aware of the
expected query type. This isn't too much of a problem now,
as we have no more general query language nor do we have
any sort of automatic query-form generation.

It would be nice to have a system later for having
query-form generation or, perhaps, sme sort of query
language. At that point, we'll need some sort of way to
determine query types, presumably through introspection of
the index objects.

hurry.query seems to fill in this hole.

On 10/24/05, Martijn Faassen [EMAIL PROTECTED] wrote:
 Hi there,

 Would there be any interest in merging hurry.query into Zope 3.2?

 What it does:

 hurry.query - higher level query system built on top of the Zope 3
catalog. Some inspiration came from Dieter Maurer's
AdvancedQuery. See src/hurry/query/query.txt for
documentation.

 Here's the code:

 http://codespeak.net/svn/z3/hurry/trunk/src/hurry/query/

 And here's a doctest:

 http://codespeak.net/svn/z3/hurry/trunk/src/hurry/query/query.txt

 Of course, it probably needs a review and adaptations before it's
 accepted, and time until the feature freeze in november is short. It
 would be a very useful addition to Zope 3's featureset, however. It
 exposes features of various indexes that the normal catalog API does not
 expose, or if so, only very obscurely. :) Now that I think of it,
 exposing the ZCTextIndex properly with the various features involved may
 need the most work.

 If there's interest, I'd really appreciate volunteers for putting up a
 proposal on the wiki and integrating it into the codebase. This way it'd
 get a review by that person. If it'd be up to myself I likely won't have
 time...

 By the way, is zc.catalog up for merging with Zope 3.2, or won't this
 happen yet? hurry.query has a dependency on zc.catalog, though I believe
   I succeeded in keeping this optional.

 Regards,

 Martijn
 ___
 Zope3-dev mailing list
 Zope3-dev@zope.org
 Unsub: http://mail.zope.org/mailman/options/zope3-dev/eucci.group%40gmail.com


___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] hurry.query in Zope 3.2?

2005-10-24 Thread Martijn Faassen

Hi there,

Would there be any interest in merging hurry.query into Zope 3.2?

What it does:

hurry.query - higher level query system built on top of the Zope 3
  catalog. Some inspiration came from Dieter Maurer's
  AdvancedQuery. See src/hurry/query/query.txt for
  documentation.

Here's the code:

http://codespeak.net/svn/z3/hurry/trunk/src/hurry/query/

And here's a doctest:

http://codespeak.net/svn/z3/hurry/trunk/src/hurry/query/query.txt

Of course, it probably needs a review and adaptations before it's 
accepted, and time until the feature freeze in november is short. It 
would be a very useful addition to Zope 3's featureset, however. It 
exposes features of various indexes that the normal catalog API does not 
expose, or if so, only very obscurely. :) Now that I think of it, 
exposing the ZCTextIndex properly with the various features involved may 
need the most work.


If there's interest, I'd really appreciate volunteers for putting up a 
proposal on the wiki and integrating it into the codebase. This way it'd 
get a review by that person. If it'd be up to myself I likely won't have 
time...


By the way, is zc.catalog up for merging with Zope 3.2, or won't this 
happen yet? hurry.query has a dependency on zc.catalog, though I believe 
 I succeeded in keeping this optional.


Regards,

Martijn
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com