Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2275

Spaces around mm parameter in dismax configuration cause NumberFormatException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 4.0-ALPHA
    • Component/s: Schema and Analysis
    • Labels:
      None

      Description

      Any whitespace around simple mm parameters in the configuration file produces a NumberFormatException at SolrPluginUtils.java:625. E.g. <str> 2 <str>. Adding whitespace in tests also causes this error to occur.

        Attachments

        1. SOLR-2275-3_x.patch
          4 kB
          Erick Erickson
        2. SOLR-2275.patch
          5 kB
          Erick Erickson
        3. SOLR-2275_optimize.patch
          2 kB
          Yonik Seeley

          Activity

            People

            • Assignee:
              erickerickson Erick Erickson
              Reporter:
              erickerickson Erick Erickson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified