[Xapian-devel] weight scheme with document values
Olly Betts
olly at survex.com
Thu Aug 24 22:46:39 BST 2006
On Tue, Jul 25, 2006 at 11:54:15AM -0400, Eric Langevin wrote:
> Is it the good way to do this or there is an easier way ??
It sounds like you're really wanting the not-yet-really-implemented
MatchBiasFunctor. This would allow an arbitrary extra weight to be
given for each document, so using BoolWeight() with a suitable
MatchBiasFunctor would allow you to rank purely by distance.
Unfortunately the current MatchBiasFunctor is a proof-of-concept
hard-wired to a particular use.
Rusty Conover was working on an ExternalPostList which would provide
most of the infrastructure for this, but I don't think I've seen
anything since his initial patch. Gmane's threaded view seems to
be broken right now, but you can see the thread via the search:
http://search.gmane.org/?query=externalpostlist&group=&sort=revdate
It's something I'd like to see, but I'm not likely to find time to
work on it myself for a while.
Cheers,
Olly
More information about the Xapian-devel
mailing list