I am currently using Xapian to perform some queries over Debian packages. I am using the tfidf algorithm to weight package terms over all my installed packages and then I search the apt-xapian-index with the terms with most significant weight.
However, when I perform the Xapian query, the weight of my terms are not considered. Therefore, the query make does not prioritize the term with most weight, it assumes that all terms are equals.
I am using the python binding for Xapian and I do like to know if there is a way to consider the terms weights on a Xapian query.