class Xapian::Enquire - RDoc Documentation
Description: class Xapian::Enquire: xapian. classXapian_1_1Enquire.
Keywords: ruby,class,Xapian::Enquire

# class Xapian::Enquire

Refer to the Xapian::Enquire C++ API documentation for methods not specific to Ruby.

### Public Instance Methods

matching_terms (document, &block)
Source

    # File xapian.rb, line 205
    def matching_terms(document, &block)
      Xapian._safelyIterate(self._dangerous_matching_terms_begin(document),
                            self._dangerous_matching_terms_end(document),
                            lambda { |item| Xapian::Term.new(item.term, item.wdf) },
                            &block)
    end

Get matching terms for some document. document can be either a Xapian::DocID or a Xapian::MSetIterator