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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.5.2, 5.6, 6.0.1, 6.1, 7.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: