[Xapian-discuss] Change document relevance on user feedback
Benjamin Hille
benjamin at hille.me.uk
Fri Jun 13 16:55:51 BST 2008
>
>> the user is show a set of result for a given query
>> the user select a document and click on to say if the document is
>> relevant.
>> if it does can I update the relevance of that document for the terms used?
>>
>
> Yes, this is supported by Xapian.
>
> Briefly, the API allows you to supply a relevance set to the match process
> (which is a set of documents marked as relevant). It also allows a
> relevance set to be used to calculate a set of expansion terms (ie, terms
> which might be useful to add to the query to find documents similar to those
> marked as relevant).
>
I cannot find anywhere in API if it is possible to store back the relevance
into the database. It looks like RSet does not write back into the db when
you add a document to it. What really I need is once a user A as choosen the
document as relevant for a query the same query by user B should have the
document choosen by A as relevant.
Benjamin
More information about the Xapian-discuss
mailing list