Displaying 6 results from an estimated 6 matches for "search_sub".
2019 Jan 12
2
Solr -> Xapian ?
...t; {
>> + #endif
>
> You should put this extern "C" into the C++ file you're creating. See for example how fts-lucene/lucene-wrapper.cc does this.
>
>> 1 - WHat does represent "subargs" in mail_search_args
>
> It's set only for SEARCH_OR and SEARCH_SUB. So for example:
>
> SEARCH TEXT foo TEXT bar TEXT baz
>
> results in:
>
> type=SEARCH_SUB
> value.subargs = (
> { type=SEARCH, value.str="foo" },
> { type=SEARCH, value.str="bar" },
> { type=SEARCH, value.str="baz" },
> )
>
>...
2019 Jan 12
2
Solr -> Xapian ?
...n "C" {
> + #endif
>
> You should put this extern "C" into the C++ file you're creating. See for example how fts-lucene/lucene-wrapper.cc does this.
>
> 1 - WHat does represent "subargs" in mail_search_args
> It's set only for SEARCH_OR and SEARCH_SUB. So for example:
>
> SEARCH TEXT foo TEXT bar TEXT baz
>
> results in:
>
> type=SEARCH_SUB
> value.subargs = (
> { type=SEARCH, value.str="foo" },
> { type=SEARCH, value.str="bar" },
> { type=SEARCH, value.str="baz" },
> )
>
>...
2019 Jan 12
0
Solr -> Xapian ?
...s
> + extern "C" {
> + #endif
>
You should put this extern "C" into the C++ file you're creating. See for example how fts-lucene/lucene-wrapper.cc does this.
> 1 - WHat does represent "subargs" in mail_search_args
It's set only for SEARCH_OR and SEARCH_SUB. So for example:
SEARCH TEXT foo TEXT bar TEXT baz
results in:
type=SEARCH_SUB
value.subargs = (
{ type=SEARCH, value.str="foo" },
{ type=SEARCH, value.str="bar" },
{ type=SEARCH, value.str="baz" },
)
Or similarly if there's SEARCH OR foo OR TEXT bar TEXT...
2019 Jan 12
0
Solr -> Xapian ?
...n "C" {
> + #endif
>
> You should put this extern "C" into the C++ file you're creating. See for example how fts-lucene/lucene-wrapper.cc does this.
>
> 1 - WHat does represent "subargs" in mail_search_args
> It's set only for SEARCH_OR and SEARCH_SUB. So for example:
>
> SEARCH TEXT foo TEXT bar TEXT baz
>
> results in:
>
> type=SEARCH_SUB
> value.subargs = (
> { type=SEARCH, value.str="foo" },
> { type=SEARCH, value.str="bar" },
> { type=SEARCH, value.str="baz" },
> )
>
>...
2019 Jan 13
0
Solr -> Xapian ?
...n "C" {
> + #endif
>
> You should put this extern "C" into the C++ file you're creating. See for example how fts-lucene/lucene-wrapper.cc does this.
>
> 1 - WHat does represent "subargs" in mail_search_args
> It's set only for SEARCH_OR and SEARCH_SUB. So for example:
>
> SEARCH TEXT foo TEXT bar TEXT baz
>
> results in:
>
> type=SEARCH_SUB
> value.subargs = (
> { type=SEARCH, value.str="foo" },
> { type=SEARCH, value.str="bar" },
> { type=SEARCH, value.str="baz" },
> )
>
>...
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