aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-01-09 20:30:41 +0000
committerRobin Houston <robin.houston@gmail.com>2012-01-09 20:30:41 +0000
commit7b107718d666ae4f23f9f41f4d76f32a0c741ff3 (patch)
tree7ffe4577e0edeb65118919563a68f92b8a48724f
parent2a5d2d8318290a03898b345d99baadaaeb7cae27 (diff)
Really don’t require flint format
-rw-r--r--vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb2
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)