[ 
https://issues.apache.org/jira/browse/JENA-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16274807#comment-16274807
 ] 

ASF subversion and git services commented on JENA-1437:
-------------------------------------------------------

Commit 304dc0551f45b5d86174da714be9d63529b9f533 in jena's branch 
refs/heads/master from [~c...@moonvine.org]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=304dc05 ]

JENA-1437-multiLingual

Corrects issue reported in JENA-1437

> text:multilingualSupport true vs false inconsistent results
> -----------------------------------------------------------
>
>                 Key: JENA-1437
>                 URL: https://issues.apache.org/jira/browse/JENA-1437
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Jena
>    Affects Versions: Jena 3.5.0
>         Environment: N/A
>            Reporter: Code Ferret
>            Priority: Minor
>              Labels: patch
>             Fix For: Jena 3.6.0
>
>
> 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"}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to