Re: [Zope-dev] more on keyword indexes

2000-12-18 Thread Dieter Maurer
Christopher Petrilli writes: > > I do try to find things. I've also > fixed untold numbers of bugs that were easy to do (there are some that are > structural and will have to wait), and 2.3 will have a *substantially* > better Catalog. That is very good news! Dieter __

RE: [Zope-dev] more on keyword indexes

2000-12-18 Thread Josh Zeidner
OK. that clears a lot up. Im guessing that you can query all indexes that intersect with your query set( UNION ) by using the syntax Steve mentioned. ( or something like that ). as for the "unpredictable results", I found that querying the index produces different results every time I queried

Re: [Zope-dev] more on keyword indexes

2000-12-18 Thread Dieter Maurer
Josh Zeidner writes: > > However, Dieter says that it is not yet possible to > query for more than one keyword at once. At least, it was not my intention to say such a thing. You can search for several keywords at once, but the result is the *UNION* of the results for the single ke

Re: [Zope-dev] more on keyword indexes

2000-12-18 Thread Christopher Petrilli
On 12/17/00 3:48 AM, "Dieter Maurer" <[EMAIL PROTECTED]> wrote: > You either have to extend ZCatalog or wait some time. > There are different people working on ZCatalog enhancements. At DC, I'm the one working on almost all of it right now, so if people else where are working on Zcatalog enhance

Re: [Zope-dev] more on keyword indexes

2000-12-18 Thread Josh Zeidner
Hello, Thanks for all the replies. Its seems there are two conflicting answers to my questions. Steve Alexander says that it is possible to query indexes using the syntax . However, Dieter says that it is not yet possible to query for more than one keyword at once. It seems to me that t

Re: [Zope-dev] more on keyword indexes

2000-12-17 Thread Dieter Maurer
Josh Zeidner writes: > OK. Is it possible to query keyword indexes for several keywords at once? Not that I know of. You either have to extend ZCatalog or wait some time. There are different people working on ZCatalog enhancements. >Again, I am reporting a bug You already know the

Re: [Zope-dev] more on keyword indexes

2000-12-16 Thread Steve Alexander
Josh Zeidner wrote: > > As for the ( MediaKeywords in ['ouch'] ) this is featured on a Zope > article about keyword indexes and it should be updated. You're right. The HOWTO at http://www.zope.org/Members/AlexR/KeywordIndexes has "in" instead of "=" in the last example. So, should read

Re: [Zope-dev] more on keyword indexes

2000-12-16 Thread Josh Zeidner
Thanks for the reply. As for the ( MediaKeywords in ['ouch'] ) this is featured on a Zope article about keyword indexes and it should be updated. >Josh Zeidner writes: > > > > This seems like the obvious result: BUT: it depends if you want a >AND/OR > > type search. >ZCatalog combin

Re: [Zope-dev] more on keyword indexes

2000-12-15 Thread Dieter Maurer
Josh Zeidner writes: > > This seems like the obvious result: BUT: it depends if you want a AND/OR > type search. ZCatalog combines several search terms for a single index with "OR" and search expressions for different indexes with an "AND". Dieter _

Re: [Zope-dev] more on keyword indexes

2000-12-15 Thread Steve Alexander
Hi Josh, I use KeywordIndexes a lot. Just for kicks, I implemented what you describe below in Zope2.3 grabbed fresh from CVS just now. I used DTML Documents for the objects to catalog, and I added a lines property called KW to each one. I queried the catalog using syntax like or Jo

[Zope-dev] more on keyword indexes

2000-12-14 Thread Josh Zeidner
Hello, I did a little more investigiation into the problem, and couldnt really find any documentation anywhere on what the actual semantics are of keywords and how they are queried. For instance: I have three classes and each has an keyword index named KW: ObjectOne:KW = ['one','blue