[Xapian-discuss] Changing weights per field

InsaneToucan insanetoucan at gmail.com
Sat Dec 16 02:23:38 GMT 2006


I'm not entirely sure if the following is possible with xapian (didn't see
much in the way of the documentation that says it is).

I have four fields which reference a PK in our DB that I'd like to index (in
most weighted to least weighed order): full name, e-mail, title and
location. I see I how I can use add_document() to add a concatenated string
of the 4 fields, but how would I give weights to them at search time? I'm
using the python bindings.

Cheers,
InsaneToucannnnn


More information about the Xapian-discuss mailing list