Sha256: f0c3ab51b7e1ad63cd9a10622e5357581d120b244be41edde4c2f564eb8df42f

Contents?: true

Size: 433 Bytes

Versions: 3

Compression:

Stored size: 433 Bytes

Contents

#
# Author:  Karsten Huneycutt
# Copyright 2007 Valkeir Corporation
# License:  LGPL
#
module LuceneARQ

  class << self
    bool_accessor :lucene_available
  end

  KEYWORD_PREDICATE = "http://jena.hpl.hp.com/ARQ/property#textMatch"

  begin
    include_class('com.hp.hpl.jena.query.larq.LARQ')
    include_package('com.hp.hpl.jena.query.larq')
    self.lucene_available = true
  rescue
    self.lucene_available = false
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activerdf_net7-1.7.2 activerdf-jena/lib/activerdf_jena/lucene.rb
activerdf_net7-1.7.1 activerdf-jena/lib/activerdf_jena/lucene.rb
activerdf_net7-1.7.0 activerdf-jena/lib/activerdf_jena/lucene.rb