search for: get_sort_key

Displaying 3 results from an estimated 3 matches for "get_sort_key".

2017 Dec 18
2
How to get the serialise score returned in Xapian::KeyMaker->operator().
...Unfortunately the sort key isn't currently exposed via the public API. > It's available internally and it seems like it ought to be accessible > but there's no accessor method for it - I can add one but that won't > help for existing releases. I've added MSetIterator::get_sort_key() to master in 9f807b83ab61a943a355a9ff6733299eab8e6bb1, and backported to the RELEASE/1.4 branch in 93ea6216fe8141d6223c869c6bccb039414db0fa, so this should be in 1.4.6 when that's released. Cheers, Olly
2018 Jan 15
0
How to get the serialise score returned in Xapian::KeyMaker->operator().
...ort key isn't currently exposed via the public API. >> It's available internally and it seems like it ought to be accessible >> but there's no accessor method for it - I can add one but that won't >> help for existing releases. > >I've added MSetIterator::get_sort_key() to master in >9f807b83ab61a943a355a9ff6733299eab8e6bb1, and backported to the >RELEASE/1.4 branch in 93ea6216fe8141d6223c869c6bccb039414db0fa, so this >should be in 1.4.6 when that's released. > >Cheers, > Olly
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