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

jena-text highlight fails for simple multilingual queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Jena 3.13.1
    • Jena 3.14.0
    • Text
    • None

    Description

      Highlighting fails to produce a marked-up literal in default multilingual configurations.

      For example, even if there's a hit in the following the marked up literal is empty:

      (?s ?sc ?lit) text:query ( "something"@en "highlight:" ) .
      

      The resulting ?lit is ""@en instead of the marked up matching literal, like:

      "bar ↦something↤ barfoo foo"@en
      

      The fix does not require text re-indexing.

      A PR is available

       

      Attachments

        Issue Links

          Activity

            People

              code-ferret Code Ferret
              code-ferret Code Ferret
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m