[Xapian-devel] Case sensitive search
James Aylett
james-xapian at tartarus.org
Thu Nov 24 14:26:12 GMT 2005
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
More information about the Xapian-devel
mailing list