class Xapian::Term

Attributes

term[RW]
termfreq[RW]
wdf[RW]

Public Class Methods

new(term, wdf=nil, termfreq=nil) click to toggle source
# File xapian.rb, line 76
def initialize(term, wdf=nil, termfreq=nil)
  @term = term
  @wdf = wdf
  @termfreq = termfreq
end

Public Instance Methods

==(other) click to toggle source
# File xapian.rb, line 82
def ==(other)
  return other.is_a?(Xapian::Term) && other.term == @term && other.wdf == @wdf && other.termfreq == @termfreq
end