[CPS-devel] custom Lexicon problems

Florent Guillaume fg at nuxeo.com
Sat Apr 28 15:57:01 CEST 2007


Hi,

This is a general Zope question, and while we would be happy to  
discuss it here time permitting, you're probably more likely to get a  
precise answer from a general Zope mailing list.

Regards,
Florent

On 27 Apr 2007, at 17:58, Winterflood, Jonathan wrote:

>
> 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 CaseNormalizer 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?
>
> TIA,
> Jonathan

-- 
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87






This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.