[
https://issues.apache.org/jira/browse/JENA-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15136727#comment-15136727
]
Osma Suominen commented on JENA-1133:
-------------------------------------
(deleted previous comment as it was mistaken)
TextDocProducerTriples.change() gets passed a
Node("urn:x-arq:DefaultGraphNode") which it then uses to create an Entity, so
the graph URI is set to "urn:x-arq:DefaultGraphNode" in those cases (e.g. HTTP
Graph Store protocol).
jena.textindexer creates the Entity directly from the results of dataset.find(
Node.ANY, Node.ANY, property, Node.ANY ). In this case, the quad seems to have
the graph URI set to "urn:x-arq:DefaultGraph".
> default graph triples incorrectly indexed by jena.textindexer
> -------------------------------------------------------------
>
> Key: JENA-1133
> URL: https://issues.apache.org/jira/browse/JENA-1133
> Project: Apache Jena
> Issue Type: Bug
> Components: Text
> Reporter: Osma Suominen
>
> Reported by Joachim Neubert on users@jena:
> https://mail-archives.apache.org/mod_mbox/jena-users/201602.mbox/%3C4E3518D35BC4E14B802A8CAE0E8819CF747543EF%40lhun.zbw-nett.zbw-kiel.de%3E
> When the jena-text index is configured with graphField, triples in the
> default graph are indexed with a different graph URI than otherwise (e.g.
> using HTTP Graph Store Protocol in Fuseki): the graph URI is
> "urn:x-arq:DefaultGraph" instead of "urn:x-arq:DefaultGraphNode".
> This causes text queries for the default graph to not return results from
> triples loaded this way.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)