Class: Xapian::MSet

Inherits:
Object
  • Object
show all
Defined in:
lib/xapian.rb

Overview

MSetIterators are not dangerous, just inconvenient to use within a Ruby programming idiom. So we wrap them.

Instance Method Summary collapse

Instance Method Details

#matchesObject



183
184
185
186
187
188
189
# File 'lib/xapian.rb', line 183

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