[
https://issues.apache.org/jira/browse/JENA-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Osma Suominen resolved JENA-1159.
---------------------------------
Resolution: Fixed
Fix Version/s: Jena 3.1.0
Found the problem and fixed it.
> 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
> Fix For: Jena 3.1.0
>
>
> 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)