def add_record(record)
      return unless allow_indexing?(record)

      condensed_record = condense_record(record)
      atoms = add_occurences(condensed_record, record.id)

      @storage.add(atoms)
    end
def add_record(record)
      return unless allow_indexing?(record)

      condensed_record = condense_record(record)
      atoms = add_occurences(condensed_record, record.id)

      @storage.add(atoms)
    end
fields:: Fields or instance methods of ActiveRecord model to be indexed.
 config:: ActsAsIndexed::Configuration instance.
 Adds +record+ to the index.