Hi Got a keyword index setup for searching - it's currently case sensitive. Given that the creation of keywords is 'free', I have a nice mixture of upper and lower case. Sometimes it is genuinely appropriate: London, or Ken Livingstone ... other times less so: Begging or Youth. Is it possible to amend this behavior to return both upper and lower case results? Cheers Jonathan Cheyne www.homeless.org.uk
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
participants (2)
-
Chris Withers -
Jonathan Cheyne