2011/2/8 Gil Forcada <[email protected]>

>
>
> 2011/2/7 Maurits van Rees <[email protected]>
>
> No, don't do it like this.
>>
>> Instead, look at Products/ATContentTypes/content/document.py: in its text
>> field definition it has searchable=True.  Add that to the field definition
>> in your custom schema and it should work: undo your changes to the catalog
>> and reindex the SearchableText index and you should be able to find your
>> content now.
>>
>> See also the definition of SearchableText in
>> Products/Archetypes/BaseObject.py
>>
>
>
> Thanks a lot!
>
> I tried searching on plone.org without success, and your tips worked like
> a charm.
>
> Cheers,
>


Just related to this ... it seems that the search engine differentiates
words with diacritics and other modifiers (i.e. "crêpe" and "crepe"). Is
there any way to override this and thus be able to search for "crepe" and
see results with "crêpe"?

Cheers,

-- 

*Gil Forcada**
*C/Llacuna, 166 2n.2a (Edifici Llacuna)
telf: 93.188.88.12 - 619.65.34.92
fax: 93.320.93.97
(08018) BARCELONA
[email protected]
www.usecm.com
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/product-developers

Reply via email to