Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7219

(Point|LegacyNumeric)RangeQuery builders to match queries' (lower|upper)Term optionality logic

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.2, 5.6, 6.0.1, 6.1, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Currently the (Point|LegacyNumeric)RangeQuery queries themselves support (lower|upper)Term optionality e.g. the lowerTerm could be omitted but the (Point|LegacyNumeric)RangeQueryBuilder builders mandate (lower|upper)Term attributes. This mismatch seems unintended.

      Proposed patch for ...QueryBuilder logic to match ...Query logic to follow.

        Attachments

        1. LUCENE-7219.patch
          19 kB
          Christine Poerschke
        2. LUCENE-7219.patch
          20 kB
          Christine Poerschke

          Activity

            People

            • Assignee:
              cpoerschke Christine Poerschke
              Reporter:
              cpoerschke Christine Poerschke
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: