Displaying 4 results from an estimated 4 matches for "enquire_get_mset".
2011 Feb 11
2
PHP Binding and SWIG Director for XapianMatchDecider
Hi,
I try to use XapianMatchDecider to filtering results, but the code :
$Decider = new MatchDecider_Search($XapianDatabase->_cPtr);
$mset = $XapEnquire->get_mset(0, 3000, null, $Decider);
Always return :
PHP Fatal error: No matching function for overloaded 'Enquire_get_mset'
in xapian.php on line 1082
I saw that SWIG was not supporting Directors for PHP, but now, it seems
to be patched.
Why is it still not working ? Do you have a work arround ?
Thanks
Yoann Maheo
2006 Mar 29
1
Using boolean terms in PHP bindings
...//set prefix
queryparser_add_boolean_prefix($query_parser, "XC", "1");
//parse and create the query
$query = queryparser_parse_query ($query_parser, $_REQUEST["search"]);
$enq = new_enquire ($db);
enquire_set_query ($enq, $query);
$result_set = enquire_get_mset ($enq, 0, 10);
$item = mset_begin ($result_set);
2006 Feb 08
1
xapian-tcpsrv very slow
Hi,
I have been looking at xapian for a project and have so far been very
impressed. I have hit one major problem the final architecture requires
that the web server be a deferent machine from the server that xapian is
installed on. With my test code using local database ($db_path =
"/var/xapain_db/default"; $db = new_database($db_path);) a query takes
around 0.012 seconds on
2006 May 15
1
term / posting question
...I can't seem to figure it
out for myself.
I have created an xapian index (using the php bindings). I have added
documents to it, with values, terms and postings. I can successfully
search in this index on anything that is in a posting, but if I search
on a word that exists as a term only, the Enquire_get_mset() function
returns 0 results.
I know the term is for sure in the document, because if I list the terms
with termiterator_get_term(), the term that I am trying to search for
above is listed.
Have I misunderstood what the terms should be used for, or is there some
option that I should pass to the e...