[ 
https://issues.apache.org/jira/browse/JENA-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne resolved JENA-1470.
---------------------------------
    Resolution: Information Provided

> 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)

Reply via email to