Class: XapianDb::IndexWriters::NoOpWriter
- Inherits:
-
Object
- Object
- XapianDb::IndexWriters::NoOpWriter
- Defined in:
- lib/xapian_db/index_writers/no_op_writer.rb
Class Method Summary collapse
-
.delete_doc_with(xapian_id, commit = true) ⇒ Object
Remove an object from the index.
-
.index(obj, commit = true, changed_attrs: []) ⇒ Object
Update an object in the index.
-
.reindex_class(klass, options = {}) ⇒ Object
Reindex all objects of a given class.
Class Method Details
.delete_doc_with(xapian_id, commit = true) ⇒ Object
Remove an object from the index
19 |
# File 'lib/xapian_db/index_writers/no_op_writer.rb', line 19 def delete_doc_with(xapian_id, commit=true); end |
.index(obj, commit = true, changed_attrs: []) ⇒ Object
Update an object in the index
15 |
# File 'lib/xapian_db/index_writers/no_op_writer.rb', line 15 def index(obj, commit=true, changed_attrs: []); end |
.reindex_class(klass, options = {}) ⇒ Object
Reindex all objects of a given class
25 26 27 |
# File 'lib/xapian_db/index_writers/no_op_writer.rb', line 25 def reindex_class(klass, ={}) raise "rebuild_xapian_index is not supported inside a block with auto indexing disabled" end |