[Xapian-discuss] Document weighting in 1.1

John Wards jwards at whiteoctober.co.uk
Tue Sep 8 20:15:21 BST 2009


Hello,

James said this in another thread:

> If you're using the 1.1 development series, you can store an arbitrary numeric weight for each document, and use a
> ValueWeightPostingSource to add this weight to the standard weight of the document.  Using this technique, you can
> specify exactly what weight bonus you want to be added to each document.

My local dev machine now is running Xapian 1.1 with the PHP bindings,
but where do I begin looking! I am quite happy looking through the api
docs for this but as far as I can tell the api documents are 1.0
based.

Any pointers would be handy.

Regards
John



More information about the Xapian-discuss mailing list