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

rdf:langString argument to text:query silently ignored

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Jena 3.5.0
    • Fix Version/s: Jena 3.6.0
    • Component/s: Jena
    • Labels:
      None
    • Environment:

      N/A

    • Flags:
      Patch

      Description

      Queries of the form:

      ?s text:query "some string"@lang-code

      return no results even when there are matches found by the equivalent:

      ?s text:query ("some string" "lang:lang-code")

      Note the above equivalent form is currently valid only if

      text:multilingualSupport false.

      See JENA-1437

      A reasonable fix is to recognize the rdf:langString case and treat it as the equivalent form referring to the text:defautlField; otherwise, at least an error should be indicated.

        Attachments

          Activity

            People

            • Assignee:
              andy Andy Seaborne
              Reporter:
              code-ferret Code Ferret
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: