[Zope] case insensitive searches

Chris Withers chrisw@nipltd.com
Mon, 26 Mar 2001 15:03:34 +0100


Jonathan Cheyne wrote:
> 
> Is it possible to amend this behavior to return both upper and lower
> case results?

Have a seperate method which returns the string.lower() of your keyword field.
Have an index with the name of that method and you'll get a case insensitive
index to search (just make sure you string.lower() your search expression first,
too ;-)

cheers,

Chris