[Xapian-discuss] I can't get prefixes to work
Olly Betts
olly at survex.com
Wed Oct 31 00:52:36 GMT 2007
On Tue, Oct 30, 2007 at 08:35:11PM -0400, Jim wrote:
> Xapian, omega and scriptindex version 1.0.3 from HEAD about a week ago.
>
>
> This is from omega FMT=godmode.
> 1 XRULERule_237
Note that this will be parsed as prefix "XRULER" on term "ule_237".
If you want to add an X-prefix to a term which starts with a capital
letter, you need to insert a colon so it's clear where the prefix ends
and the term begins, which is why the QueryParser generates this:
> Running query Xapian::Query(XRULE:Rule_237)
So scriptindex is wrong for not inserting a ':' in this case.
Cheers,
Olly
More information about the Xapian-discuss
mailing list