|
a/src/php/recoll/recoll.cpp |
|
b/src/php/recoll/recoll.cpp |
|
... |
|
... |
123 |
Rcl::SearchData *sd = 0;
|
123 |
Rcl::SearchData *sd = 0;
|
124 |
|
124 |
|
125 |
// jf: the original implementation built an AND clause. It would
|
125 |
// jf: the original implementation built an AND clause. It would
|
126 |
// be nice to offer an option, but the next best thing is to
|
126 |
// be nice to offer an option, but the next best thing is to
|
127 |
// default to the query language
|
127 |
// default to the query language
|
128 |
sd = wasaStringToRcl(qs, reason);
|
128 |
sd = wasaStringToRcl(rclconfig, qs, reason);
|
129 |
|
129 |
|
130 |
if (!sd) {
|
130 |
if (!sd) {
|
131 |
cerr << "Query string interpretation failed: " << reason << endl;
|
131 |
cerr << "Query string interpretation failed: " << reason << endl;
|
132 |
RETURN_BOOL(false);
|
132 |
RETURN_BOOL(false);
|
133 |
}
|
133 |
}
|