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

jena-text does not respect graph indexing in the text query cache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 3.4.0
    • Jena 3.5.0
    • Text
    • None

    Description

      jena-text does not respect the graph setting when using the text query cache. In the example attached, the dataset has two graphs; the first result is used for the second text query. Depending on the order, either both text queries are zero or both one hit when the right answer is zero, once and one, once.

      Note also the "graph" feature of jena-text only works with quad based datasets (strictly, ones that use GraphView for their graphs). General dataset do not. This is hidden in the pattern where there is a test triple pattern that the literal is actually in the graph.

      Attachments

        1. TextIndexReport.java
          7 kB
          Andy Seaborne

        Issue Links

          Activity

            People

              andy Andy Seaborne
              andy Andy Seaborne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: