Hi,
For now I write the ZCTextIndex in the footer section of catalog.xml too.
I saw recently there was a index:extras tagged-values. I didn't look
in the archgenxml code to find how to use it.
If I found something interesting, I'll let you know. If there is a
bug, I'll provide a patch then.
Cheers
Vincent Fretin
On Thu, Mar 5, 2009 at 2:14 PM, Mike <
[hidden email]> wrote:
> I am stuck with the exact same problem as Kees. I eventually removed
> from the model all index and catalog tagged values for the ZCTextIndex
> fields and added the definitions in the footer section of catalog.xml.
> Anyone got any other ideas?
>
> Mike
>
> Kees Hink wrote:
>> I am generating code for Plone 2.5 with AGX 2.1.
>>
>> I am using a ZCTextIndex for which the catalog.xml needs the lines:
>> <extra name="index_type" value="Okapi BM25 Rank"/>
>> <extra name="lexicon_id" value="plone_lexicon"/>
>>
>> What can i put in the index:extras tagged value for this field so that it will
>> add the lines? The manual
>>
http://plone.org/documentation/manual/archgenxml2/reference/tagged-values says
>> "Provide a comma separated list." but if have tried these forms and they fail:
>>
>> 'lexicon_id=plone_lexicon','index_type=Okapi BM25 Rank' ,
>> lexicon_id=plone_lexicon,index_type='Okapi BM25 Rank' and
>> lexicon_id=plone_lexicon,index_type=Okapi BM25 Rank
>>
>> fail with TypeError: string indices must be integers
>>
>> 'lexicon_id':'plone_lexicon' and
>> {'lexicon_id':'plone_lexicon'}
>>
>> fail with InError: Strings are not allowed as input to the in tag.
>>
>> Thanks in advance,
>>
>> Kees
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial.
http://p.sf.net/sfu/www-adobe-com_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users