Paul Dixon
2006-Apr-04 09:55 UTC
[Xapian-discuss] Purpose of enquire_get_matching_terms in PHP binding?
The PHP bindings include these three functions: enquire_get_matching_terms enquire_get_matching_terms_begin enquire_get_matching_terms_end The begin/end functions clearly map to known C++ class methods, but I'm unable to determine from the documentation what enquire_get_matching_terms does, as there is no Enquire::get_matching_terms method. Any clues?
Olly Betts
2006-Apr-04 14:01 UTC
[Xapian-discuss] Purpose of enquire_get_matching_terms in PHP binding?
On Tue, Apr 04, 2006 at 09:55:40AM +0100, Paul Dixon wrote:> The PHP bindings include these three functions: > > enquire_get_matching_terms > enquire_get_matching_terms_begin > enquire_get_matching_terms_end > > The begin/end functions clearly map to known C++ class methods, but > I'm unable to determine from the documentation what > enquire_get_matching_terms does, as there is no > Enquire::get_matching_terms method.It's documented in the last paragraph of php/docs/bindings.html - it takes an MSetIterator and returns all the matching terms as a list. Cheers, Olly