# class Xapian::Document

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

### Public Instance Methods

terms() click to toggle source

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

values() click to toggle source

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