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

Osma Suominen commented on JENA-1159:
-------------------------------------

Failing unit test here: 
https://github.com/osma/jena/commit/a0b16d42f0a4e5557d6bef78468f32f07f28380b

> jena-text language restriction for Italian or Norwegian has no effect
> ---------------------------------------------------------------------
>
>                 Key: JENA-1159
>                 URL: https://issues.apache.org/jira/browse/JENA-1159
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Text
>    Affects Versions: Jena 3.0.1
>            Reporter: Osma Suominen
>            Assignee: Osma Suominen
>
> jena-text allows for limiting by language, e.g.
> {noformat}?s text:query ('text' 'lang:en'){noformat}
> For some reason this doesn't work for Italian. The following query does not 
> actually restrict by language but instead returns results for any language:
> {noformat}?s text:query ('text' 'lang:it'){noformat}
> I suspect that the language code {{it}} is being handled as a stop word by 
> Lucene. It also seems to happen with {{no}}, the inclusive language code for 
> Norwegian.
> I've already created a failing jena-text unit test and will investigate 
> further.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to