[ https://issues.apache.org/jira/browse/JENA-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16344824#comment-16344824 ]
Andy Seaborne edited comment on JENA-1470 at 2/8/18 5:36 PM: ------------------------------------------------------------- In the case of Fuseki and using the {{--desc}} argument, there can be only one dataset description. This is a short form for the complete Fuseki configuration file where the services link to the datasets they use. As a short-form, it only works in the case of one dataset description in the file. was (Author: andy.seaborne): In the case of Fuseki and using the {{--desc}} argument, there can be only one dataset description. This si a short form for the complete Fuseki configuration file where the services link to the datasets they use. As a short-form, it only works in the case of one dataset description in the file. > Text Index documentation provides an invalid Assembler example > -------------------------------------------------------------- > > Key: JENA-1470 > URL: https://issues.apache.org/jira/browse/JENA-1470 > Project: Apache Jena > Issue Type: Documentation > Components: Fuseki, Jena > Affects Versions: Jena 3.7.0 > Reporter: Jamie Olson > Priority: Minor > > 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) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)