Displaying 5 results from an estimated 5 matches for "query_op_and".
2023 Mar 30
1
Having trouble with php8 bindings
...abase;
Thank you very much.
This then (because of course) led to some more things needing tidying
up and I've run into something I can't work out while trying to update
previously-worked-in-php7 code in the actual file I'm trying to update
$this->queryparser->set_default_op(Query_OP_AND);
...leads to "Undefined constant "App\Helpers\Query_OP_AND" because...
another namespace issue?
("OP_AND" and "XapianQueryParser::OP_AND" are also not accepted.)
jh
2023 Mar 30
1
Having trouble with php8 bindings
...ote:
> This then (because of course) led to some more things needing tidying
> up and I've run into something I can't work out while trying to update
> previously-worked-in-php7 code in the actual file I'm trying to update
>
> $this->queryparser->set_default_op(Query_OP_AND);
>
> ...leads to "Undefined constant "App\Helpers\Query_OP_AND" because...
> another namespace issue?
>
> ("OP_AND" and "XapianQueryParser::OP_AND" are also not accepted.)
It's `XapianQuery::OP_AND`, which was also the correct name in the PH...
2023 Mar 30
1
Having trouble with php8 bindings
On Thu, Mar 30, 2023 at 04:42:41AM +0100, John Handelaar wrote:
> It appears that I can't use anything in PHP8.2 if the PHP file from
> which I want to access xapian contains a namespace declaration,
> because the PHP functions themselves cannot be found.
You need to tell PHP to look in the root namespace, e.g.:
$test = new \XapianWritableDatabase('searchdb');
Another
2007 Jun 11
3
Xapian 1.0.1 released
I've now uploaded Xapian 1.0.1, which you can download from the usual
place:
http://www.xapian.org/download.php
This release mainly comprises bug fixes and performance improvements.
The "simple" examples (for both C++ and the bindings) have also been
overhauled and now use the QueryParser and TermGenerator classes, which
makes for simpler examples and should better reflect
2007 Jun 11
3
Xapian 1.0.1 released
I've now uploaded Xapian 1.0.1, which you can download from the usual
place:
http://www.xapian.org/download.php
This release mainly comprises bug fixes and performance improvements.
The "simple" examples (for both C++ and the bindings) have also been
overhauled and now use the QueryParser and TermGenerator classes, which
makes for simpler examples and should better reflect