You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Christopher Currens (JIRA)" <ji...@apache.org> on 2012/06/14 20:32:42 UTC

[jira] [Resolved] (LUCENENET-490) QueryParser is culture-sensitive

     [ https://issues.apache.org/jira/browse/LUCENENET-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Currens resolved LUCENENET-490.
-------------------------------------------

    Resolution: Fixed

That is how it used to be.  I believe I caused this regression in LUCENENET-478 when I re-ported QueryParser.  If the LocalizedTestCase class worked correctly, we would have caught this earlier, I think.
                
> QueryParser is culture-sensitive
> --------------------------------
>
>                 Key: LUCENENET-490
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-490
>             Project: Lucene.Net
>          Issue Type: Bug
>    Affects Versions: Lucene.Net 3.0.3
>         Environment: CurrentCulture = sv-SE, CurrentUICulture = en-US.
>            Reporter: Simon Svensson
>            Priority: Minor
>             Fix For: Lucene.Net 3.0.3
>
>
> The QueryParser calls Single.Parse which is culture-sensitive. This will fail on cultures using other decimal separators (e.g. Swedish [sv-SE]).
> This does not affect 2.9.4; it calls SupportClass.Single.Parse. This looks related to LUCENENET-285.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira