diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-01-09 21:34:38 +0000 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-01-09 21:34:38 +0000 |
commit | 06ade41bd892f72c907d6e5f12a8794fce32a465 (patch) | |
tree | 0c10dbee65821d97d92084d5b6859ff1098243eb /vendor/plugins | |
parent | 6f06729b24a80951b28bea3b2d2262f578eb9f74 (diff) | |
parent | b8e8b9c665eb93a6053169997b70301aae8b0dc0 (diff) |
Merge branch 'release/0.5' into develop
Diffstat (limited to 'vendor/plugins')
-rw-r--r-- | vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb b/vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb index 592784ba1..39cfe929f 100644 --- a/vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb +++ b/vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb @@ -218,7 +218,7 @@ module ActsAsXapian full_path = @@db_path + suffix # for indexing - @@writable_db = Xapian::flint_open(full_path, Xapian::DB_CREATE_OR_OPEN) + @@writable_db = Xapian::WritableDatabase.new(full_path, Xapian::DB_CREATE_OR_OPEN) @@enquire = Xapian::Enquire.new(@@writable_db) @@term_generator = Xapian::TermGenerator.new() @@term_generator.set_flags(Xapian::TermGenerator::FLAG_SPELLING, 0) |