search for: keymak

Displaying 15 results from an estimated 15 matches for "keymak".

Did you mean: keymap
2007 Jun 26
3
1.2.6 compile failures
...failures be fixed? Or do I have to use the ocfs2 version included in the vanilla kernel? (if so, how do the versions in the kernel (1.3.3 in 2.6.21) relate to the ocfs2 releases?) Thanks, Eric de Ruiter Initial compile failure make -C fs make[1]: Entering directory `/data/images/keymaker/home/accountadmin/ocfs2-1.2.6/fs' make -C ocfs2 stamp-md5 make[2]: Entering directory `/data/images/keymaker/home/accountadmin/ocfs2-1.2.6/fs/ocfs2' make[2]: Leaving directory `/data/images/keymaker/home/accountadmin/ocfs2-1.2.6/fs/ocfs2' make -C ocfs2/cluster...
2018 Jan 22
2
How to get the serialise score returned in Xapian::KeyMaker->operator().
...n the MSetIterator object: > >https://getting-started-with-xapian.readthedocs.io/en/latest/advanced/postingsource.html > >You may find that's faster because it'll mean sorting by doubles instead >of strings. We realise our score function using PostingSource instead of using KeyMaker, we reference your python example and source code of xapian, the simple demo is here. https://github.com/xiangqianzsh/xapian_leaning/blob/master/postingsource/ExternalWeightPostingSource.h But we found that using PostingSource is more slower than KeyMaker. I think the reason maybe: We only use...
2018 Jan 24
0
How to get the serialise score returned in Xapian::KeyMaker->operator().
On Tue, Jan 23, 2018 at 12:55:31AM +0800, 张少华 wrote: > We realise our score function using PostingSource instead of using > KeyMaker, we reference your python example and source code of xapian, > the simple demo is here. > https://github.com/xiangqianzsh/xapian_leaning/blob/master/postingsource/ExternalWeightPostingSource.h I'd just put the get_weight() and get_maxweight() implementations into your ExternalWeightP...
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 operator()(const Xapian::Document& doc) const { double score = self-defined-function(doc); return Xapian::sortable_se...
2017 Dec 16
0
How to get the serialise score returned in Xapian::KeyMaker->operator().
On Fri, Dec 15, 2017 at 03:10:48PM +0800, 张少华 wrote: > 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 operator()(const Xapian::Document& doc) const { > double score = self-defined-function(d...
2018 Jan 15
0
How to get the serialise score returned in Xapian::KeyMaker->operator().
Thanks for you reply. In our case, we want to get a weight using the user' properties(age, gender, price preference) and products' properties(price, comment count, purchased amount among different gender or range of age). So our weight function is complex, no matter we use KeyMaker or PostingSource, six to eight values in slot will be used. But we find that using doc.get_value(slot) several times separately in each search makes getting result slowly. Now we want to constuct a forward index (using unordered map) which uses docid as key and its value contains the slot valu...
2017 Dec 18
2
How to get the serialise score returned in Xapian::KeyMaker->operator().
On Sat, Dec 16, 2017 at 10:11:40PM +0000, Olly Betts wrote: > 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
2019 Jan 22
1
About xapian serialization on float/double variables
Dear Members of Xapian Project, Sorry for troubling you this time. It can be witnessed that xapian will store Document values with serialization approach when given value types meet float/double. Such an approach is deployed on sort_key related fields as well, where the xapian requires KeyMaker::operator() must return an serialized float/dobule variable. Then heap sort comes and ranks the vector<MSetItem> items (multimatch.cc MultiMatch::get_mset()) by comparing serialized sort_keys (std::string) straightforwardly according to <IEEE-754 doubles>. Subsequently sort_keys will...
2010 Dec 16
2
Failing to build PHP Bindings OSX 10.6
Very odd this, I have downloaded the latest xapian-core and bindings. Installed xapian-core no problem in /usr/local/xapian However I am getting very strange errors when running make when trying to install the PHP bindings, it configures fine. Paste bin here: http://pastebin.com/JWViJz4b I am missing something obvious I know... I have built 1.0 on this machine in the past fine... John
2011 Mar 15
1
Changing order policy
Hi everybody, Maybe I'm going to ask a bit weird question: I have an item collection, most of them are writting with latin letters, but some of them have chinese letters. There is a list page and numbers, punctuation and chinese letters go first. I would like to change this order policy in order to show first items that start with latin letters, and then numbers, punctuation and chinese
2001 Apr 17
1
Thanks Wine tea
I'm truly impressed by wine, especially Codeweavers'. Not only was it easy to install, but it works! I can now use Britannica, the OED and the archives of Time magazine on Windows CDs. I'm working on getting Pegasus to find my data folders (any tips?) and Agent works fine. It did everything I wanted it to do except run CorelDraw4 (it can't decipher its fonts) and any astrology
2013 Jan 17
1
FASTER Search
...8 1.4782 AndMaybePostList::at_end() const 3899 1.4452 OrPostList::get_docid() const 3655 1.3548 MultiMatch::get_mset(unsigned int, unsigned int, unsigned int, Xapian::MSet&, Xapian::Weight::Internal const&, Xapian::MatchDecider const*, Xapian::MatchDecider const*, Xapian::KeyMaker const*) 3172 1.1757 OrPostList::at_end() const 3061 1.1346 ChertPostList::get_wdf() const most of the time cost were about chert post list; Could I use some separate database for getting faster searching? Compacting database will help? How to reduce time cost for chert post list o...
2017 Mar 09
3
Inconsistent query results
...tiAndPostList::next(double) (multiandpostlist.cc:238) ==11180== by 0x5F4FACC: next_handling_prune (branchpostlist.h:85) ==11180== by 0x5F4FACC: MultiMatch::get_mset(unsigned int, unsigned int, unsigned int, Xapian::MSet&, Xapian::Weight::Internal&, Xapian::MatchDecider const*, Xapian::KeyMaker const*) (multimatch.cc:570) ==11180== by 0x5E485CE: Xapian::Enquire::Internal::get_mset(unsigned int, unsigned int, unsigned int, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:581) ==11180== by 0x5E48913: Xapian::Enquire::get_mset(unsigned int, unsigned int, unsigned...
2017 Mar 15
2
xapian core missing link to math on MSYS2
.../msys2/unstable/mingw64/lib/gcc/x86_64-w64-mingw32/6.3.0/crtbegin.o api/.libs/compactor.o api/.libs/constinfo.o api/.libs/decvalwtsource.o api/.libs/documentvaluelist.o api/.libs/editdistance.o api/.libs/emptypostlist.o api/.libs/error.o api/.libs/errorhandler.o api/.libs/expanddecider.o api/.libs/keymaker.o api/.libs/leafpostlist.o api/.libs/matchspy.o api/.libs/omdatabase.o api/.libs/omdocument.o api/.libs/omenquire.o api/.libs/positioniterator.o api/.libs/postingiterator.o api/.libs/postingsource.o api/.libs/postlist.o api/.libs/query.o api/.libs/queryinternal.o api/.libs/registry.o api/.libs/re...
2020 Mar 22
0
Unable to build RPM for Centos 7
....h include/xapian/dbfactory.h include/xapian/deprecated.h include/xapian/derefwrapper.h include/xapian/document.h include/xapian/enquire.h include/xapian/errorhandler.h include/xapian/eset.h include/xapian/expanddecider.h include/xapian/intrusive_ptr.h include/xapian/iterator.h include/xapian/keymaker.h include/xapian/matchspy.h include/xapian/mset.h include/xapian/positioniterator.h include/xapian/postingiterator.h include/xapian/postingsource.h include/xapian/query.h include/xapian/queryparser.h include/xapian/registry.h include/xapian/stem.h include/xapian/termgenerator.h include/xapia...