On 2006-08-18, Jeff Breidenbach wrote:
>> The case sensitivity is a bit confusing. As far as I can see, "magic"
>> also finds "Magic" and "MAGIC". "Magic" and "MAGIC" find each other,
>> but don't find "magic", so they're kind of semi-case-sensitive. Also,
>> "Magic" and "MAGIC" don't highlight the terms they found in the search
>> results page.
>
> Hmm.. this must be the proper name "feature". I'll see if I can
> figure out how to disable it.

You just need to call:

    qp.set_stemming_strategy(Xapian::QueryParser::STEM_ALL);

It seems you're using Omega - you can't currently set this there without
tweaking the code, which is a bit of an oversight (you can set STEM_NONE or
STEM_SOME).  I'll fix that, but meanwhile see Omega's query.cc, near the top of
the function set_probabilistic().

I'm not sure why "MAGIC" isn't highlighting - it's supposed to, but it
looks like something is amiss.  I'll investigate.

Cheers,
    Olly

_______________________________________________
Discussion list for The Mail Archive
Gossip@jab.org
http://jab.org/cgi-bin/mailman/listinfo/gossip

Reply via email to