Sha256: 842b055bd5f38c4d874cf8b07887625b68ae8dab86b432f6058913f9bbdb8a24

Contents?: true

Size: 164 Bytes

Versions: 3

Compression:

Stored size: 164 Bytes

Contents

module ActiveLucene
  module Index
    PATH = "#{APP_ROOT}/db/lucene/#{APP_ENV}"

    def directory
      FSDirectory.open java.io.File.new(PATH)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_lucene-0.5.2 lib/active_lucene/index.rb
active_lucene-0.5.1 lib/active_lucene/index.rb
active_lucene-0.5.0 lib/active_lucene/index.rb