Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Jena 3.5.0
-
N/A
-
Patch
Description
If text:multilingualSupport false then
?s text:query ("some string" "lang:lang-code")
may be expected to return matches for the text:defaultField restricted to the given lang-code.
However, if text:multilingualSupport true then the same query always returns zero results owing to an improper rewriting of the query string with a field spec of:
"null_lang-code:some string".
OTOH, explicit mention of the text:predicate corresponding to the text:defaultField, e.g., rdfs:label, yields the expected results:
?s text:query (rdfs:label "some string" "lang:lang-code")
Should be fixed with a proper rewriting of the query-string to:
"text:defaultField_lang-code:some string"
Attachments
Issue Links
- links to