class PgSearch::Features::DMetaphone
def conditions
def conditions tsearch.conditions end
def initialize(query, options, columns, model, normalizer)
def initialize(query, options, columns, model, normalizer) dmetaphone_normalizer = Normalizer.new(normalizer) options = (options || {}).merge(:dictionary => 'simple') @tsearch = TSearch.new(query, options, columns, model, dmetaphone_normalizer) end
def rank
def rank tsearch.rank end