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

Spaces around mm parameter in dismax configuration cause NumberFormatException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2
    • 4.0-ALPHA
    • Schema and Analysis
    • 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

            erickerickson Erick Erickson
            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