class XapianDb::IndexWriters::NoOpWriter
Public Class Methods
Source
# File lib/xapian_db/index_writers/no_op_writer.rb 19 def delete_doc_with(xapian_id, commit=true); end
Remove an object from the index @param [String] xapian_id The document id
Source
# File lib/xapian_db/index_writers/no_op_writer.rb 15 def index(obj, commit=true, changed_attrs: []); end
Update an object in the index @param [Object] obj An instance of a class with a blueprint configuration
Source
# File lib/xapian_db/index_writers/no_op_writer.rb 25 def reindex_class(klass, options={}) 26 raise "rebuild_xapian_index is not supported inside a block with auto indexing disabled" 27 end
Reindex all objects of a given class @param [Class] klass The class to reindex @param [Hash] options Options for reindexing @option options [Boolean] :verbose (false) Should the reindexing give status informations?