[Xapian-discuss] Searching in different fields
Olly Betts
olly at survex.com
Wed Dec 27 15:40:30 GMT 2006
On Wed, Dec 27, 2006 at 02:43:38PM +0100, M.J. van der Veen wrote:
> Do I have to set a mapping for these variables somewhere?
> How is this done?
Xapian::QueryParser::add_prefix() (also add_boolean_prefix()):
http://www.xapian.org/docs/apidoc/html/classXapian_1_1QueryParser.html#d4829ddcaa0582ff94d1066870a18c97
If you're using Omega, use $setmap{prefix,...} (also $setmap{boolprefix,...}):
http://svn.xapian.org/trunk/xapian-applications/omega/docs/omegascript.txt?view=co
Cheers,
Olly
More information about the Xapian-discuss
mailing list