app/models/solr_core/base.rb
# Does NOT delete items by ID beforehand.
Does NOT delete items by ID beforehand.
Does NOT delete items by ID beforehand .
def add_items(items)
      @connection.add(Array(items).map(&:to_hash))
      @connection.commit
    end
def add_items ( items ) @connection . add ( Array ( items ) . map ( & :to_hash ) ) @connection . commit end
Does NOT delete items by ID beforehand.
Does NOT delete items by ID beforehand .
# TODO: error-checking
items
<not_specific>