class XapianDb::IndexWriters::NoOpWriter

Public Class Methods

delete_doc_with(xapian_id, commit=true) click to toggle source

Remove an object from the index @param [String] xapian_id The document id

   # File lib/xapian_db/index_writers/no_op_writer.rb
19 def delete_doc_with(xapian_id, commit=true); end
index(obj, commit=true, changed_attrs: []) click to toggle source

Update an object in the index @param [Object] obj An instance of a class with a blueprint configuration

   # File lib/xapian_db/index_writers/no_op_writer.rb
15 def index(obj, commit=true, changed_attrs: []); end
reindex_class(klass, options={}) click to toggle source

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?

   # 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