Hi, yesterday I've asked some question about index seach.
The solution proposed is correct but is indicated for searching with only one
filter parameter.
If I wanted to effect searches contemporarily using different filters what I
have to do?
Following the example code for searching with only one filter field
--> For the indexer:
$doc->add_term('XC'.$category);
...
$db->add_document($doc);
--> For the search:
$user_query = "blu red";
$user_query = $qp->parse_query($user_query);
$filter_query = "XCcategory1";
$query = new XapianQuery(XapianQuery::OP_FILTER, array($user_query,
$filter_query));
$enquire->set_query($query);
$matches = $enquire->get_mset(0, 10);