[Xapian-discuss] Add Different Weights to Title,
Description Fields
Olly Betts
olly at survex.com
Sun Apr 1 21:14:44 BST 2007
On Sun, Apr 01, 2007 at 03:29:01PM -0400, Ram Peters wrote:
> In Xapian how do you "Add Different Weights to Title, Description and
> Category Fields"?
You can do this by setting the "wdfinc" parameter when calling
Document::add_posting() or Document::add_term(). Just pass different
values when generating terms for the different fields. The default
wdfinc is 1.
Cheers,
Olly
More information about the Xapian-discuss
mailing list