search for: get_matching_term

Displaying 5 results from an estimated 5 matches for "get_matching_term".

Did you mean: get_matching_terms
2007 Apr 03
3
More weirdness with PHP bindings
Hi all, There's been a odd bug reported to us by Daniel Menard while working on the PHP bindings: "I then tried to run the dotest target...All tests passed, except the one about get_matching_terms (smoketest.php line 94). I added this line before the exit: for ($i=0; $i<strlen($terms); $i++) echo $c=ord($terms[$i]), ' ', ($c>31?$terms[$i]:''), "\n"; and it appears that the first letter of each term is replaced with a null char.I tried to run the same test i...
2006 May 10
2
ruby bindings odds and ends
...ersion of the Ruby bindings to remain compatible with and those methods will be removed at some point, possibly in 1.0 which should happen fairly soon). This isn't a Ruby specific thought - I think it makes sense generally. And lastly, for most languages, there's an extra Enquire method - get_matching_terms() which just returns the matching terms as a list or array or similar. I'm not sure why this one case gets special treatment really - I think it's mostly just a historical oddity. Anyway, this wasn't being renamed (because it's not in the C++ header I guess). I added a rename, b...
2007 Feb 09
1
PHP Binding and dbi2omega questions
...uot;php", "mysql")); // lets grab the matches! $mset = $enq->get_mset(0, 10); // output how many estimated echo 'Matches: '.$mset->get_matches_estimated().'<br/>'; // Output the terms that matched $terms = join(' ', $enq->get_matching_terms($mset->get_hit(0))); echo 'TERMS: '.$terms.'<br/>'; // Loop the matches and output some data.. for ($i = $mset->begin(); !$i->equals($mset->end()); $i->next()) { echo '<hr/> Document ID '.$i->get_docid().'<br/>...
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