module PgSearch::Multisearchable

def pg_search_document_attrs

def pg_search_document_attrs
  {
    content: searchable_text
  }.tap do |h|
    if (attrs = pg_search_multisearchable_options[:additional_attributes])
      h.merge! attrs.to_proc.call(self)
    end
  end
end