search for: click_number

Displaying 2 results from an estimated 2 matches for "click_number".

2017 Dec 15
5
How to get the serialise score returned in Xapian::KeyMaker->operator().
HI, all, I am a user of Xapian, and now I have a problem in using it. After using boolean terms to get some candidates of documents (still too much), we want sorted them by self-defined function which is used in Xapian::KeyMaker->operator(). But how can I get the serialise score in Xapian::MSetIterator object. c++ code likes this: class SortKeyMaker : public Xapian::KeyMaker { std::string
2018 Jan 11
0
use xapian.Query.OP_VALUE_RANGE or use xapian.MatchDecider?
...e price, comment count, production date, click number of the products. Now we want select some products which satisties specific condition, such as contain the term of "shirt" and "white", and "price <= 500" and "comment count >= 100", "1000 <= click_number <= 2000". And we have two methods: 1, use xapian.Query for terms and xapian.Query.OP_VALUE_RANGE to filter the value. 2, use xapian.Query for terms to get candidates, then use xapian.MatchDecider to filter the value. Which method get a better performance?