Hi all, I´ve been developing a search application using Xapian and Omega. When our visitors search on specific keywords it´s noticable that Omega is case sensitive. It will find results on keyword `Asus´ and it will NOT find results on keyword ´asus´. I´ve been looking through the documentation to find a CGI param to turn this off. I cannot find it in the omega docs or in the scriptindex docs. Is there such a setting/parameter? If so, where can I find it and how do I use it. If not, what do I need to modify in scriptindex and omega to make this possible? NOTE: I'm passing in the documents as they are in the database. Meaning that the documents contain words with capital letters. I don't know if this is causing the problem? Do I need to make the input to scriptindex lowercase? Thx in advance, Arjan Holscher --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20051124/630518cf/attachment.html>
On Thu, Nov 24, 2005 at 05:44:16AM -0800, arjan holscher wrote:> I´ve been developing a search application using Xapian and > Omega. When our visitors search on specific keywords it´s > noticable that Omega is case sensitive. It will find results on > keyword `Asus´ and it will NOT find results on keyword > ´asus´.The way omega works is for all words to be normalised to lower case, but also to add a 'raw' term for every word that starts with an upper case letter. Raw terms are prefixed with 'R'. This should be working properly with scriptindex as well, providing you're using ``index'' or ``indexpos''.> NOTE: I'm passing in the documents as they are in the > database. Meaning that the documents contain words with capital > letters. I don't know if this is causing the problem? Do I need to > make the input to scriptindex lowercase?What does you scriptindex index script look like? J -- /--------------------------------------------------------------------------\ James Aylett xapian.org james at tartarus.org uncertaintydivision.org