Sha256: 05767e24bd0d50cc8298893f215a9893c60cb2af6ba8d84c4be41cd2e3fec3e0
Contents?: true
Size: 532 Bytes
Versions: 5
Compression:
Stored size: 532 Bytes
Contents
module SimpleSolrClient::Core::Index # Add the given hash or array of hashes # @return self def add_docs(*hash_or_hashes) update(hash_or_hashes.flatten) self end # A raw delete. Your query needs to be legal (e.g., escaped) already # @param [String] q The query to identify items to delete # @return self def delete(q) update({:delete => {:query => q}}) self end # Delete all document in the index and immdiately commit # @return self def clear delete('*:*').commit self end end
Version data entries
5 entries across 5 versions & 1 rubygems