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

NPE in CurrencyValue.parse() while issuing wildcard range query on a CurrencyField

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.6.1, 4.0-BETA
    • 4.0, 4.1, 6.0
    • query parsers
    • None

    Description

      According to the wiki wildcard range queries are supported. In reality either of the following queries result in NPE using the example schema.

      • price_c:[* TO 1000]
      • price_c:[* TO 1000,USD]
      • price_c:[*,USD TO 1000,USD]
      • price_c:[1000 TO *]
      • price_c:[1000,USD TO *]
      • price_c:[1000,USD TO *]

      Attachments

        1. SOLR-3878.patch
          4 kB
          Jan Høydahl

        Activity

          People

            janhoy Jan Høydahl
            mmiklos Miklós Márton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: