[Xapian-discuss] PHP5 - Query Parsing Bug

Ross Lawley ross.lawley at gmail.com
Mon Feb 26 16:27:13 GMT 2007


Hi,

I'm using PHP5 and the query parser, I get an error when trying to parse a
query:

Fatal error: No matching function for overloaded 'new_Query' in
xapian.phpon line 1121

Using:

$query = $xapian_query_parser->parse_query('title:zulu');


However, the php4 method works:

$query = queryparser_parse_query ($xapian_query_parser, 'title:zulu');


Ross


More information about the Xapian-discuss mailing list