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

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

Commit ce467aa8c0fcc5b6c00fd288ba9ab2e2c5f52628 in jena's branch 
refs/heads/master from [~osma]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=ce467aa ]

JENA-1159: use KeywordAnalyzer for langField to avoid stop word filtering


> 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