[Xapian-discuss] Category Search with Values

Senior Boss seniorboss at hotmail.it
Mon May 18 12:58:44 BST 2009


If I use the following code (with queryParser) I obtain an error, why?


...

$user_query = "blu red";
$user_query = $qp->parse_query($user_query);
$filter_query = "XCcategory1";
$query = new XapianQuery(XapianQuery::OP_FILTER, $user_query, $filter_query);
$enquire->set_query($query);
$matches = $enquire->get_mset(0, 10);

....

Output: 


Fatal error:  No matching function for overloaded 'new_Query' in C:\zend_workspace\xapian.php on line 1230


More information about the Xapian-discuss mailing list