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: 6.1, 6.0.1, 5.5.2, 7.0, 5.6
    • 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.

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

        Activity

        Hide
        cpoerschke Christine Poerschke added a comment -

        Rebased patch against latest master (merge conflict re: both LUCENE-7210 and the original patch changing the TestCoreParser setup logic resolved).

        Show
        cpoerschke Christine Poerschke added a comment - Rebased patch against latest master (merge conflict re: both LUCENE-7210 and the original patch changing the TestCoreParser setup logic resolved).
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit c57db02580580d42be8e4e08e96c278c878e9d2a in lucene-solr's branch refs/heads/master from Christine Poerschke
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c57db02 ]

        LUCENE-7219: Make queryparser/xml (Point|LegacyNumeric)RangeQuery builders match the underlying queries' (lower|upper)Term optionality logic. (Kaneshanathan Srivisagan, Christine Poerschke)

        Show
        jira-bot ASF subversion and git services added a comment - Commit c57db02580580d42be8e4e08e96c278c878e9d2a in lucene-solr's branch refs/heads/master from Christine Poerschke [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c57db02 ] LUCENE-7219 : Make queryparser/xml (Point|LegacyNumeric)RangeQuery builders match the underlying queries' (lower|upper)Term optionality logic. (Kaneshanathan Srivisagan, Christine Poerschke)
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit ed6f8ad9b80e577c98403fe49f894b539cbc2a7c in lucene-solr's branch refs/heads/branch_6x from Christine Poerschke
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=ed6f8ad ]

        LUCENE-7219: Make queryparser/xml (Point|LegacyNumeric)RangeQuery builders match the underlying queries' (lower|upper)Term optionality logic. (Kaneshanathan Srivisagan, Christine Poerschke)

        Show
        jira-bot ASF subversion and git services added a comment - Commit ed6f8ad9b80e577c98403fe49f894b539cbc2a7c in lucene-solr's branch refs/heads/branch_6x from Christine Poerschke [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=ed6f8ad ] LUCENE-7219 : Make queryparser/xml (Point|LegacyNumeric)RangeQuery builders match the underlying queries' (lower|upper)Term optionality logic. (Kaneshanathan Srivisagan, Christine Poerschke)
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit d268aef0ebd89901e8f91ae423ca606fbec7226e in lucene-solr's branch refs/heads/branch_5x from Christine Poerschke
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d268aef ]

        LUCENE-7219: Make queryparser/xml NumericRange(Query|Filter) builders match the underlying (query|filter)'s (lower|upper)Term optionality logic. (Kaneshanathan Srivisagan, Christine Poerschke)

        Show
        jira-bot ASF subversion and git services added a comment - Commit d268aef0ebd89901e8f91ae423ca606fbec7226e in lucene-solr's branch refs/heads/branch_5x from Christine Poerschke [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d268aef ] LUCENE-7219 : Make queryparser/xml NumericRange(Query|Filter) builders match the underlying (query|filter)'s (lower|upper)Term optionality logic. (Kaneshanathan Srivisagan, Christine Poerschke)
        Hide
        steve_rowe Steve Rowe added a comment -

        Reopening to backport to 6.0.1.

        Show
        steve_rowe Steve Rowe added a comment - Reopening to backport to 6.0.1.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 7181bb8b4ef8c1cb2d421b9a9423fb5df07d0fbc in lucene-solr's branch refs/heads/branch_6_0 from Christine Poerschke
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=7181bb8 ]

        LUCENE-7219: Make queryparser/xml (Point|LegacyNumeric)RangeQuery builders match the underlying queries' (lower|upper)Term optionality logic. (Kaneshanathan Srivisagan, Christine Poerschke)

        Show
        jira-bot ASF subversion and git services added a comment - Commit 7181bb8b4ef8c1cb2d421b9a9423fb5df07d0fbc in lucene-solr's branch refs/heads/branch_6_0 from Christine Poerschke [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=7181bb8 ] LUCENE-7219 : Make queryparser/xml (Point|LegacyNumeric)RangeQuery builders match the underlying queries' (lower|upper)Term optionality logic. (Kaneshanathan Srivisagan, Christine Poerschke)
        Hide
        steve_rowe Steve Rowe added a comment -

        Bulk close issues included in the 6.0.1 release.

        Show
        steve_rowe Steve Rowe added a comment - Bulk close issues included in the 6.0.1 release.
        Hide
        steve_rowe Steve Rowe added a comment -

        Reopening to backport to 5.5.2.

        Show
        steve_rowe Steve Rowe added a comment - Reopening to backport to 5.5.2.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 8eeb5858d407347099dfe360d01682669a27b02f in lucene-solr's branch refs/heads/branch_5_5 from Christine Poerschke
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8eeb585 ]

        LUCENE-7219: Make queryparser/xml NumericRange(Query|Filter) builders match the underlying (query|filter)'s (lower|upper)Term optionality logic. (Kaneshanathan Srivisagan, Christine Poerschke)

        Show
        jira-bot ASF subversion and git services added a comment - Commit 8eeb5858d407347099dfe360d01682669a27b02f in lucene-solr's branch refs/heads/branch_5_5 from Christine Poerschke [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8eeb585 ] LUCENE-7219 : Make queryparser/xml NumericRange(Query|Filter) builders match the underlying (query|filter)'s (lower|upper)Term optionality logic. (Kaneshanathan Srivisagan, Christine Poerschke)
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit f4362098f7290104205403b86e901c767c0c4d22 in lucene-solr's branch refs/heads/branch_5_5 from Steve Rowe
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f436209 ]

        LUCENE-7219: Add CHANGES entry

        Show
        jira-bot ASF subversion and git services added a comment - Commit f4362098f7290104205403b86e901c767c0c4d22 in lucene-solr's branch refs/heads/branch_5_5 from Steve Rowe [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f436209 ] LUCENE-7219 : Add CHANGES entry

          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:

              Development