Uploaded image for project: 'Lucene.Net'
  1. Lucene.Net
  2. LUCENENET-490

QueryParser is culture-sensitive

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Lucene.Net 3.0.3
    • Fix Version/s: Lucene.Net 3.0.3
    • Component/s: None
    • Labels:
      None
    • Environment:

      CurrentCulture = sv-SE, CurrentUICulture = en-US.

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sisve Simon Svensson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: