[Xapian-discuss] I sometimes wonder if I'm losing it.
James Aylett
james-xapian at tartarus.org
Wed Aug 22 14:49:34 BST 2007
On Wed, Aug 22, 2007 at 09:37:22AM -0400, Jim wrote:
> >>http://<uri>/cgi-bin/omega.cgi?DB=db2&P=Atikigod
> >>26 Atikigo>
> >><http://208.76.81.207/cgi-bin/omega.cgi?DB=db2&FMT=godmode&B=Atikigod>
> >
> >When omega search into database, it will "look for" `atikigod`, but
> >there are only `Atikigod`, which means that `tikigod` are prefixed
> >with `A`
>
> The A prefix implies author. I thought that this was the proper method
> of searching for a prefixed term.
You're better off using prefixes in the query parser. You need to
$setmap{} the prefix map and then you can use author:tikigod -
otherwise the query parser may do strange things to 'Atikigod' while
generating the terms to search for.
J
--
/--------------------------------------------------------------------------\
James Aylett xapian.org
james at tartarus.org uncertaintydivision.org
More information about the Xapian-discuss
mailing list