class Xapian::Document - RDoc Documentation
Description: class Xapian::Document: xapian. classXapian_1_1Document.
Keywords: ruby,class,Xapian::Document

🔍

No recent searches

# class Xapian::Document

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

### Public Instance Methods

terms (&block)
Source

    # File xapian.rb, line 148
    def terms(&block)
      Xapian._safelyIterate(self._dangerous_termlist_begin(),
                            self._dangerous_termlist_end(),
                            lambda {
                              |item| Xapian::Term.new(item.term, item.wdf)
                            },
                            &block)
    end

values (&block)
Source

    # File xapian.rb, line 157
    def values(&block)
      Xapian._safelyIterate(self._dangerous_values_begin(),
                            self._dangerous_values_end(),
                            lambda {
                              |item| Xapian::Value.new(item.value,
                                                       item.valueno,
                                                       0)
                            },
                            &block)
    end