[Zope] custom Lexicon developpement problems

2007-05-02 Thread Winterflood, Jonathan
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

Re: [Zope] custom Lexicon developpement problems

2007-05-02 Thread Andreas Jung
--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 pac

Re: [Zope] custom Lexicon developpement problems

2007-05-02 Thread Jonathan
- 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

RE: [Zope] custom Lexicon developpement problems

2007-05-02 Thread Winterflood, Jonathan
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

Re: [Zope] custom Lexicon developpement problems

2007-05-02 Thread Stefan H. Holek
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_a

[Zope] Late binding

2007-05-02 Thread Garito
Hi all! In this function: def ProcesarTALES(self, expresion, args = None): if expresion is None: return None engine = getEngine() contextoTALES = {'container': self.aq_parent, 'here': self, 'context': self, 'request': self.REQUEST, 'options': {}, 'sitio': self.Sitio(), 'user'

[Zope] Re: Late binding

2007-05-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Garito wrote: > Hi all! > In this function: > > def ProcesarTALES(self, expresion, args = None): > if expresion is None: return None > engine = getEngine() > contextoTALES = {'container': self.aq_parent, 'here': self, > 'contex