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

frange / ValueSourceRangeFilter / FunctionValues.getRangeScorer should not match documents w/o a value

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      {!frange}

      currently can match documents w/o a value (because of a default value of 0).
      This only existed historically because we didn't have info about what fields had a value for numerics, and didn't have exists() on FunctionValues.

        Attachments

        1. SOLR-8867.patch
          22 kB
          Yonik Seeley
        2. SOLR-8867.patch
          6 kB
          Yonik Seeley

          Issue Links

            Activity

              People

              • Assignee:
                yseeley@gmail.com Yonik Seeley
                Reporter:
                yseeley@gmail.com Yonik Seeley
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: