Osma Suominen created JENA-1159:
-----------------------------------
Summary: 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)