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

rdf:langString argument to text:query silently ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Jena 3.5.0
    • Jena 3.6.0
    • Jena
    • None
    • N/A

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: