athena 0.0.4.59 → 0.0.4.60
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/athena/formats/ferret.rb +1 -1
- metadata +1 -1
@@ -55,7 +55,7 @@ class Athena::Formats
|
|
55
55
|
|
56
56
|
def parse(source)
|
57
57
|
path = source.path
|
58
|
-
raise "index not found: #{path}" unless File.
|
58
|
+
raise "index not found: #{path}" unless File.readable_real?(File.join(path, 'segments'))
|
59
59
|
|
60
60
|
index = ::Ferret::Index::IndexReader.new(path)
|
61
61
|
|