class PgSearch::Features::Feature

def document

def document
  columns.map { |column| column.to_sql }.join(" || ' ' || ")
end

def initialize(query, options, columns, model, normalizer)

def initialize(query, options, columns, model, normalizer)
  @query = query
  @options = options || {}
  @columns = columns
  @model = model
  @normalizer = normalizer
end

def normalize(expression)

def normalize(expression)
  normalizer.add_normalization(expression)
end