Hi, I've tried the search by the tools. <FORM action="search"> <INPUT name="SearchableText" value=""> <SELECT name="Type:list" onchange="submit()"> <OPTION>Thème</OPTION> </SELECT> </FORM> I have a search DTML : <dtml-let results=portal_catalog> <dtml-return search_view> </dtml-let> And I have a search_view <dtml-if expr="_.len(results)>0"> <dtml-in results size="10" start="batch_start"> ... and so on ... My question is : How does it works. In fact I've some problems, because I use of French language ( Sorry, I'm ). If I want to find the word "Congrès", and someone have typed "Congres" or "congres" or "Congrès", then nothing happened. Do I have to write an extension for this ? Where I have to change it ? Is there a product which does what I want , Sincerily PS -------------------------------------------------- Oreka ! Nous sommes l'internet moins cher ! Surfez 25% moins cher avec http://www.oreka.com
Humm What you need is some kind of normalization of the characters (indexed and searched data) to avoid those problems. IIRC the TextIndexNG (which is currently still under development AFAIK) provides support for that. Regards Christian * Pascal Samuzeau <samuzeau@oreka.com> [020322 15:10]:
Hi,
I've tried the search by the tools.
<FORM action="search"> <INPUT name="SearchableText" value=""> <SELECT name="Type:list" onchange="submit()"> <OPTION>Thème</OPTION> </SELECT> </FORM>
I have a search DTML :
<dtml-let results=portal_catalog> <dtml-return search_view> </dtml-let>
And I have a search_view
<dtml-if expr="_.len(results)>0"> <dtml-in results size="10" start="batch_start">
... and so on ...
My question is : How does it works. In fact I've some problems, because I use of French language ( Sorry, I'm ).
If I want to find the word "Congrès", and someone have typed "Congres" or "congres" or "Congrès", then nothing happened.
Do I have to write an extension for this ? Where I have to change it ? Is there a product which does what I want ,
Sincerily PS -------------------------------------------------- Oreka ! Nous sommes l'internet moins cher ! Surfez 25% moins cher avec http://www.oreka.com
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Christian Theune - ct@gocept.com gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981 reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b'])
participants (2)
-
Christian Theune -
Pascal Samuzeau