# File /data/home/olly/tmp/xapian-svn-snapshot/tags/1.0.5/xapian/xapian-bindings/ruby/docs/../xapian.rb, line 217
    def ==(other)
      return other.is_a?(Xapian::Posting) && other.docid == @docid && other.doclength == @doclength &&
        other.wdf == @wdf
    end