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 dtml-in "Catalog.searchResults( doc_keywords = ['one','two','ect'] . However, Dieter says that it is not yet

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

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, dtml-in

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 dtml-in

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

[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 =