Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1470

Text Index documentation provides an invalid Assembler example

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Closed
    • Minor
    • Resolution: Information Provided
    • Jena 3.7.0
    • None
    • Fuseki, Jena
    • None

    Description

      The documentation for text indexes provides a sample Assembler definition: https://jena.apache.org/documentation/query/text-query.html#text-dataset-assembler

       

      This definition does not work:

      > ./fuseki-server --desc=./wiki-text-assembler.ttl /svc1

      [2018-01-25 14:13:38] Server INFO Dataset from assembler
      org.apache.jena.sparql.ARQException: Found two matches: var ?root -> http://localhost/jena_example/#text_dataset, file:///C:/Users/jamieo/source/repos/satori_ekg2/apache-jena-fuseki-3.6.0/wiki-text-assembler.ttl#dataset
      at org.apache.jena.sparql.util.QueryExecUtils.getAtMostOne(QueryExecUtils.java:355)
      at org.apache.jena.sparql.util.graph.GraphUtils.findRootByType(GraphUtils.java:199)
      at org.apache.jena.sparql.core.assembler.AssemblerUtils.build(AssemblerUtils.java:116)
      at arq.cmdline.ModAssembler.create(ModAssembler.java:72)
      at arq.cmdline.ModDatasetAssembler.createDataset(ModDatasetAssembler.java:42)
      at org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.processModulesAndArgs(FusekiCmd.java:285)
      at jena.cmd.CmdArgModule.process(CmdArgModule.java:52)
      at jena.cmd.CmdMain.mainMethod(CmdMain.java:92)
      at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
      at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
      at org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(FusekiCmd.java:103)
      at org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67)

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            jfolson Jamie Olson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: