Re: [Zope] custom Lexicon developpement problems
http://dev.plone.org/collective/browser/UnicodeLexicon/trunk/profiles/ default/catalog.xml Stefan On 4. Mai 2007, at 15:04, Winterflood, Jonathan wrote: My main issue is how to integrate the 'indexed_attr' field, but I can't see what is necessary to activate this functionality Could you maybe explain this? -- Anything that, in happening, causes something else to happen, causes something else to happen. --Douglas Adams ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] custom Lexicon developpement problems
--On 4. Mai 2007 15:04:30 +0200 "Winterflood, Jonathan" <[EMAIL PROTECTED]> wrote: Hi, Indeed, I had a good look at your UnicodeLexicon while writing mine. The problem is I don't really understand how some of the things work. What's why I pointed you to TextIndexNG3 where every component has a well defined interface and is pluggable and replaceable through ZCML. -aj pgpKnQOl62o3I.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] custom Lexicon developpement problems
Hi, Indeed, I had a good look at your UnicodeLexicon while writing mine. The problem is I don't really understand how some of the things work. My main issue is how to integrate the 'indexed_attr' field, but I can't see what is necessary to activate this functionality Could you maybe explain this? Thanks a lot, Jonathan -Message d'origine- De : Stefan H. Holek [mailto:[EMAIL PROTECTED] Envoyé : mercredi 2 mai 2007 19:23 À : Winterflood, Jonathan Cc : zope@zope.org Objet : Re: [Zope] custom Lexicon developpement problems You may want to look at http://www.zope.org/Members/shh/ UnicodeLexicon for inspiration. Stefan On 2. Mai 2007, at 10:50, Winterflood, Jonathan wrote: > Hovever, I'm having problems creating indexes that use them: > I created the lexicon and indexes via the catalog.xml file, but the > 'indexed_attr' fields are ignored (therefore, creating indexes on > multiple fields isn't possible). > In the ZMI, in portal_catalog, I cannot select the lexicon for use > when I add a ZCTextIndex -- Anything that, in happening, causes something else to happen, causes something else to happen. --Douglas Adams This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] custom Lexicon developpement problems
You may want to look at http://www.zope.org/Members/shh/ UnicodeLexicon for inspiration. Stefan On 2. Mai 2007, at 10:50, Winterflood, Jonathan wrote: Hovever, I'm having problems creating indexes that use them: I created the lexicon and indexes via the catalog.xml file, but the 'indexed_attr' fields are ignored (therefore, creating indexes on multiple fields isn't possible). In the ZMI, in portal_catalog, I cannot select the lexicon for use when I add a ZCTextIndex -- Anything that, in happening, causes something else to happen, causes something else to happen. --Douglas Adams ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] custom Lexicon developpement problems
Hi, > Why don't you look at TextIndexNG3 where almost everything is pluggable > and configurable? Firstly because I wasn't aware of its existence... Secondly (now I've seen it) because it seems particularly heavy for my use: It proposes many features, of which I shall only need 2 I have a very tight deadline on this and I'm new to Zope, python and the likes... I can't see how easy it's going to be to use: how long will it take me to transition from ZCTextindexes to TextIndexNG3's? (I've already spent quite some time integrating the ZCTextIndex queries into my code) If these issues are unfounded, I would be happy to use TextIndexNG3, but so far I think I'm better off fixing the couple of bugs in my Lexicon (apart from these, it's finished) TIA for your input on this :) Jonathan -Message d'origine- De : Andreas Jung [mailto:[EMAIL PROTECTED] Envoyé : mercredi 2 mai 2007 10:57 À : Winterflood, Jonathan; zope@zope.org Objet : Re: [Zope] custom Lexicon developpement problems --On 2. Mai 2007 10:50:41 +0200 "Winterflood, Jonathan" <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > With the goal of allowing the use of wildcards anywhere in a ZCTextIndex > query, and also ignore accentuated characters, I am developping a custom > Lexicon, Splitter and CaseNormalizer. > These are packed into a Product Why don't you look at TextIndexNG3 where almost everything is pluggable and configurable? -aj This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] custom Lexicon developpement problems
- Original Message - From: "Winterflood, Jonathan" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 02, 2007 4:50 AM Subject: [Zope] custom Lexicon developpement problems Hi all, With the goal of allowing the use of wildcards anywhere in a ZCTextIndex query, and also ignore accentuated characters, I am developping a custom Lexicon, Splitter and CaseNormalizer. These are packed into a Product The more permissive globbing rules work fine, and the accent-bashing ToAsciiCaseNormalizer too (this looks like a good alternative to indexing a method that would remove the accents from the field we're interested in ) Hovever, I'm having problems creating indexes that use them: I created the lexicon and indexes via the catalog.xml file, but the 'indexed_attr' fields are ignored (therefore, creating indexes on multiple fields isn't possible). In the ZMI, in portal_catalog, I cannot select the lexicon for use when I add a ZCTextIndex Does anyone know how to go about these problems? Dieter's Manageable Indexes product may be of some use: http://www.dieter.handshake.de/pyprojects/zope/#ManagableIndex Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] custom Lexicon developpement problems
--On 2. Mai 2007 10:50:41 +0200 "Winterflood, Jonathan" <[EMAIL PROTECTED]> wrote: Hi all, With the goal of allowing the use of wildcards anywhere in a ZCTextIndex query, and also ignore accentuated characters, I am developping a custom Lexicon, Splitter and CaseNormalizer. These are packed into a Product Why don't you look at TextIndexNG3 where almost everything is pluggable and configurable? -aj pgpFCcF1zHqKS.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )