search for: get_msg

Displaying 20 results from an estimated 22 matches for "get_msg".

Did you mean: get_msr
2008 Sep 27
3
Query::MatchAll
Why there still been rank when using Query::MatchAll() ?
2019 Jan 14
3
[FTS Xapian] Beta release
...-g -O2 -MT fts-backend-xapian.lo -MD -MP -MF .deps/fts-backend-xapian.Tpo -c fts-backend-xapian.cpp -fPIC -DPIC -o .libs/fts-backend-xapian.o fts-backend-xapian.cpp:486:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] i_warning(e.get_msg().c_str()); ^~~~~~~~~~~~~~~~~~~ fts-backend-xapian.cpp:486:14: note: treat the string as an argument to avoid this i_warning(e.get_msg().c_str()); ^ "%s", 1 warnin...
2019 Jan 14
2
[FTS Xapian] Beta release
...apian.lo >> -MD -MP -MF .deps/fts-backend-xapian.Tpo -c fts-backend-xapian.cpp? >> -fPIC -DPIC -o .libs/fts-backend-xapian.o >> fts-backend-xapian.cpp:486:14: warning: format string is not a string >> literal (potentially insecure) [-Wformat-security] >> i_warning(e.get_msg().c_str()); >> ^~~~~~~~~~~~~~~~~~~ >> fts-backend-xapian.cpp:486:14: note: treat the string as an argument >> to avoid this >> i_warning(e.get_msg().c_str()); >> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^ >> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? "%s", >> 1...
2019 Jan 12
2
Solr -> Xapian ?
...d; for(i=0;i<r->size;i++) { try { uid=atol(backend->dbr->get_document(r->data[i]).get_value(1).c_str()); i_warning("Rresult UID=%d",uid); ARRAY_IDX_SET(&(RESULT->DEFINITE_UIDS),I,&UID); } catch(Xapian::Error e) { i_warning(e.get_msg().c_str()); } } I can see in hte log that UID are properly found on Xapian database, but no results are transmitted to dovecot and to the imap client (roundcube in my case) Help please :) On 2019-01-12 18:15, Joan Moreau wrote: > additionally, my logic is that the backend stores one da...
2019 Jan 14
0
[FTS Xapian] Beta release
...pian.lo -MD > -MP -MF .deps/fts-backend-xapian.Tpo -c fts-backend-xapian.cpp? -fPIC > -DPIC -o .libs/fts-backend-xapian.o > fts-backend-xapian.cpp:486:14: warning: format string is not a string > literal (potentially insecure) [-Wformat-security] > ? ? ? ? ? ? ? ? ? ? ? ? i_warning(e.get_msg().c_str()); > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~ > fts-backend-xapian.cpp:486:14: note: treat the string as an argument > to avoid this > ? ? ? ? ? ? ? ? ? ? ? ? i_warning(e.get_msg().c_str()); > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^ > ? ? ? ? ? ? ? ? ? ? ? ? ? ?...
2012 Nov 21
1
about index speed of xapian
...erm(imsi); doc.add_term(msisdn); database.add_document(doc); } } database.close(); std::cout << now.elapsed() << std::endl; } catch (const Xapian::Error& error) { std::cout << error.get_msg() << std::endl; } the following is the index result: total 1.9G -rw-rw-r-- 1 warren warren 0 11-21 17:07 flintlock -rw-rw-r-- 1 warren warren 28 11-21 17:07 iamchert -rw-rw-r-- 1 warren warren 22K 11-21 17:24 postlist.baseA -rw-rw-r-- 1 warren warren 20K 11-21 17:22 postlist.ba...
2005 Feb 25
2
Bug in TermIterator::skip_to() ?
Hi all, I've been toying with xapian (mostly using the Python bindings) and I think I've hit a bug in the TermIterator::skip_to() method (or maybe in QuartzAllTermsList::skip_to()). I've attached a c++ source file that demonstrates the issue. In short, if you have a WritableDatabase, ask for the all-terms TermIterator with db.allterms_begin(), and then skip_to() a word that is itself
2019 Jan 13
0
Solr -> Xapian ?
...i<r->size;i++) > { > try > { > uid=atol(backend->dbr->get_document(r->data[i]).get_value(1).c_str()); > i_warning("Rresult UID=%d",uid); > ARRAY_IDX_SET(&(RESULT->DEFINITE_UIDS),I,&UID); > } > catch(Xapian::Error e) > { > i_warning(e.get_msg().c_str()); > } > } > > I can see in hte log that UID are properly found on Xapian database, but no results are transmitted to dovecot and to the imap client (roundcube in my case) > > Help please :) > > On 2019-01-12 18:15, Joan Moreau wrote: > > additionally,...
2006 May 20
2
xapian-tcpsrv need to reopen database?
Hi, I'm adapting the omega (in a Python way ;) to do search across multiple remotes database, for now, I have only one xapian-tcpsrc running, but I have documents being inserted at the same time, so (like I have readed in others e-mails) the xapian-tcpsrc throw the following message: Connection from 192.168.0.101, port 64161 Got exception DatabaseModifiedError: The revision being read has
2002 Jan 03
3
[PATCH] Improving sftp client performance
...ax_req) { + req[num_req].id = msg_id++; + req[num_req].len = COPY_SIZE; + req[num_req].offset = offset; + offset += req[num_req].len; + num_req++; + send_request(fd_out, handle, handle_len, SSH2_FXP_READ, + &req[num_req - 1], &msg); + } buffer_clear(&msg); - get_msg(fd_in, &msg); type = buffer_get_char(&msg); id = buffer_get_int(&msg); debug3("Received reply T:%d I:%d", type, id); - if (id != expected_id) - fatal("ID mismatch (%d != %d)", id, expected_id); - if (type == SSH2_FXP_STATUS) { + reply = find_request(req...
2019 Jan 14
2
[FTS Xapian] Beta release
In your README.md, perhaps "This project intends to provide a straightforward and simple *procedure *to configure FTS plugin for Dovecot, leveraging the efforts by the Xapian.org team." is better?? Also in the part after cloning from git: ./configure --prefix=/usr --with-dovecot=/path/to/dovecot [ This /path/to/dovecot is not obvious. Is it the dovecot binary or what??] On Mon, 14 Jan
2019 Jan 12
2
Solr -> Xapian ?
THank you Now, for the results I see the member of fts_result is : ARRAY_TYPE(seq_range) definite_uids; I have the UID as a aray of uint32_t * How to put my UIDs into this "definite_uids" ? Obviously this is not a simple array/pointer. How to say someting similar to result->definite_uids[1]=my_uid ? On 2019-01-12 10:25, Timo Sirainen wrote: > On 11 Jan 2019, at 21.23,
2002 Jan 06
3
sftp/scp performance testing
Folks, I've noticed poor performance using sftp. If anyone has any advice on how to improve performance, I'd like to hear it. Test simply involved transferring a single 143MB MP3 file using defaults for all the program configs. The opensshd 3.0.2p1 server is used in all tests. Software: openssh suite 3.0.2p1 psftp (putty sftp client) latest dev snapshot pscp (putty scp client) latest
2009 Feb 12
1
problem when using xapian's static libs in windows
...or (int i = 3; i < argc; ++i) { newdocument.add_posting(argv[i], i - 2); } // Add the document to the database database.add_document(newdocument); } catch(const Xapian::Error &error) { cout << "Exception: " << error.get_msg() << endl; } return 0; } But when I build it, the IDE tell somthing as follow? Note?I have add the lib and the lib path to the IDE? but it also tell me the things as follow. Should I have to change somewhere in the source. such as add export prefix begin the funcion or class...
2010 Nov 08
18
implementation of IEEE 802.1Qbg in lldpad
Hi, this set of patches contains the initial implementation of the IEEE 802.1Qbg standard: code for the exchange of EVB TLVs in LLDP frames to negotiate VSI capabalities as well as VDP VSI TLVs between a host with virtual machines and an adjacent switch. It supports setting the parameters of the TLV exchange from the command line using lldptool. VDP profiles consisting of
2010 Nov 08
18
implementation of IEEE 802.1Qbg in lldpad
Hi, this set of patches contains the initial implementation of the IEEE 802.1Qbg standard: code for the exchange of EVB TLVs in LLDP frames to negotiate VSI capabalities as well as VDP VSI TLVs between a host with virtual machines and an adjacent switch. It supports setting the parameters of the TLV exchange from the command line using lldptool. VDP profiles consisting of
2010 Sep 28
19
implementation of IEEE 802.1Qbg in lldpad
Hi, this set of patches contains the initial implementation of the IEEE 802.1Qbg standard: code for the exchange of EVB TLVs in LLDP frames to negotiate VSI capabalities as well as VDP VSI TLVs between a host with virtual machines and an adjacent switch. It supports setting the parameters of the TLV exchange from the command line using lldptool. VDP profiles consisting of
2010 Sep 28
19
implementation of IEEE 802.1Qbg in lldpad
Hi, this set of patches contains the initial implementation of the IEEE 802.1Qbg standard: code for the exchange of EVB TLVs in LLDP frames to negotiate VSI capabalities as well as VDP VSI TLVs between a host with virtual machines and an adjacent switch. It supports setting the parameters of the TLV exchange from the command line using lldptool. VDP profiles consisting of
2010 Jul 23
19
implementation of IEEE 802.1Qbg in lldpad
Hi, This set of patches contains the initial implementation of the IEEE 802.1Qbg standard: code for the exchange of EVB TLVs in LLDP frames to negotiate VSI capabalities as well as VDP VSI TLVs between a host with virtual machines and an adjacent switch. It supports setting the parameters of the TLV exchange from the command line using lldptool. VDP profiles consisting of
2010 Jul 23
19
implementation of IEEE 802.1Qbg in lldpad
Hi, This set of patches contains the initial implementation of the IEEE 802.1Qbg standard: code for the exchange of EVB TLVs in LLDP frames to negotiate VSI capabalities as well as VDP VSI TLVs between a host with virtual machines and an adjacent switch. It supports setting the parameters of the TLV exchange from the command line using lldptool. VDP profiles consisting of