search for: fts_result

Displaying 6 results from an estimated 6 matches for "fts_result".

2019 Jan 12
2
Solr -> Xapian ?
I somehow fixed the folder issue. (seems some unix rights after too many tests) Getting back on the "fts_results" structure: I am trying: I_ARRAY_INIT(&(RESULT->DEFINITE_UIDS),R->SIZE); I_ARRAY_INIT(&(RESULT->MAYBE_UIDS),0); uint32_t uid; for(i=0;i<r->size;i++) { try { uid=atol(backend->dbr->get_document(r->data[i]).get_value(1).c_str()); i_warning...
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...
2019 Jan 13
0
Solr -> Xapian ?
...gs that several times, the dovecot calls the fts_backend_xapian_update_set_mailbox with box == NULL. WHy so ? THank you On 2019-01-12 21:40, Joan Moreau via dovecot wrote: > I somehow fixed the folder issue. (seems some unix rights after too many tests) > > Getting back on the "fts_results" structure: > > I am trying: > > I_ARRAY_INIT(&(RESULT->DEFINITE_UIDS),R->SIZE); > I_ARRAY_INIT(&(RESULT->MAYBE_UIDS),0); > > uint32_t uid; > for(i=0;i<r->size;i++) > { > try > { > uid=atol(backend->dbr->get_document(r-&gt...
2019 Jan 12
0
Solr -> Xapian ?
..., and database is properly createdm and backed starts indexing all emails For other folder, somehow, the process can not access that (root) folder. Am I missing something ? On 2019-01-12 17:37, Joan Moreau wrote: > 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 ? > >...
2019 Mar 08
0
imap segfault in libc.so with CLucene FTS backend enabled
...ne::search::Searcher::search(lucene::search::Query*, lucene::search::Filter*) () at /var/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/search/SearchHeader.cpp:188 No locals. #20 0x000063e7edd7edf0 in lucene_index_search(lucene_index*, array__lucene_query&, fts_result*, array__seq_range*) () at lucene-wrapper.cc:1361 hits = <optimized out> last_uid = <optimized out> score = <optimized out> ret = 0 query = {<lucene::search::Query> = {<lucene::util::NamedObject> = {_vptr.NamedObject = 0x63e7ed...
2019 Jan 11
4
Solr -> Xapian ?
The below patch resolves the compilation error $ DIFF -P COMPAT.H COMPAT.H.JOAN *** compat.h 2019-01-11 20:21:00.726625427 +0100 --- compat.h.joan 2019-01-11 20:14:41.729109919 +0100 *************** struct iovec; *** 202,207 **** --- 202,211 ---- ssize_t i_my_writev(int fd, const struct iovec *iov, int iov_len); #endif + #ifdef __cplusplus + extern "C" { + #endif + #if