class Xapian::WritableDatabase
- Xapian::WritableDatabase
- Xapian::Database
- Reference
- Object
Defined in:
xapian/writable_database.crConstant Summary
-
CREATE =
LibXapian::DatabaseAction::CREATE
-
CREATE_OR_OPEN =
LibXapian::DatabaseAction::CREATE_OR_OPEN
-
CREATE_OR_OVERWRITE =
LibXapian::DatabaseAction::CREATE_OR_OVERWRITE
-
OPEN =
LibXapian::DatabaseAction::OPEN
Constructors
Class Method Summary
Instance Method Summary
- #add_document(document : Document) : Document::Id
- #as_writable
- #commit
- #delete_document(id : Document::Id)
- #replace_document(id : Document::Id, document : Document)
- #transaction(flushed : Bool = true, &)
Instance methods inherited from class Xapian::Database
close
close,
doc_count
doc_count,
reopen
reopen,
to_unsafe : LibXapian::Database
to_unsafe
Constructor methods inherited from class Xapian::Database
new(path : String)new(database : LibXapian::Database) new