Class: Xapian::MSet
- Inherits:
-
Object
- Object
- Xapian::MSet
- Defined in:
- lib/xapian.rb
Overview
Refer to the Xapian::MSet C++ API documentation for methods not specific to Ruby. – MSetIterators are not dangerous, just inconvenient to use within a Ruby programming idiom. So we wrap them.
Instance Method Summary collapse
Instance Method Details
#matches ⇒ Object
197 198 199 200 201 202 203 |
# File 'lib/xapian.rb', line 197 def matches Xapian._safelyIterate(self._begin(), self._end()) { |item| Xapian::Match.new(item.docid, item.document, item.rank, item.weight, item.collapse_count, item.percent) } end |