[Xapian-discuss] Problem with stemming and prefixes.

Ivan Sutter ivansutter at gmail.com
Sat Oct 11 21:55:20 BST 2008


Indeed that works with add_boolean_prefix() !
The "ucfirst"-tip works too but I think it's better to use the appropriate
function !

Thanks to both of you.

Ivan

2008/10/10 Olly Betts <olly at survex.com>

> On Thu, Oct 09, 2008 at 12:48:42PM +0200, Ivan Sutter wrote:
> > $queryparser->add_prefix("cat", "XCAT");
>
> You want add_boolean_prefix() here.  add_prefix() is for "free text"
> like fields.
>
> Cheers,
>     Olly
>


More information about the Xapian-discuss mailing list