When I enter the following, in which larqndx is a subdirectory,

  java -cp %CP% arq.larqbuilder --larq=larqndx --graph mydata.rdf

I get the errors shown below. Can the --graph parameter be a file, or do I need an assembler description file to specify the data to index?

thanks,

Bob


com.hp.hpl.jena.query.larq.ARQLuceneException: LARQ
        at arq.cmdline.ModLARQindex.getIndexWriter(ModLARQindex.java:54)
        at arq.larqbuilder.exec(larqbuilder.java:62)
        at arq.cmdline.CmdMain.mainMethod(CmdMain.java:85)
        at arq.cmdline.CmdMain.mainRun(CmdMain.java:47)
        at arq.cmdline.CmdMain.mainRun(CmdMain.java:34)
        at arq.larqbuilder.main(larqbuilder.java:34)
Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed
out: SimpleFSLock@C:\bob\dev\xml\rdf\larqtest\larqndx\write.lock
        at org.apache.lucene.store.Lock.obtain(Lock.java:85)
        at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:691)
        at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:671)
        at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:565)
<http://openjena.org/ARQ/cmds.html#arq.larqbuilder>

Reply via email to