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

HashQParserPlugin should trim partition keys

    Details

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

      Description

      Currently the HashQParserPlugin doesn't trim the partition keys, so having spaces in the comma delimited list of keys causes an NPE while loading the field from the schema.

      1. SOLR-9118.patch
        2 kB
        Joel Bernstein

        Activity

        Hide
        joel.bernstein Joel Bernstein added a comment -

        Small patch for this. Since this is such a small fix I plan to commit fairly quickly so it can make it into the 6.1 release.

        Show
        joel.bernstein Joel Bernstein added a comment - Small patch for this. Since this is such a small fix I plan to commit fairly quickly so it can make it into the 6.1 release.
        Hide
        jira-bot ASF subversion and git services added a comment -

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

        SOLR-9118: HashQParserPlugin should trim partition keys

        Show
        jira-bot ASF subversion and git services added a comment - Commit f8d1012717620b4ed019fcf1e19e4f335fcbbe93 in lucene-solr's branch refs/heads/master from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f8d1012 ] SOLR-9118 : HashQParserPlugin should trim partition keys
        Hide
        jira-bot ASF subversion and git services added a comment -

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

        SOLR-9118: Update CHANGES.txt

        Show
        jira-bot ASF subversion and git services added a comment - Commit c3836a2a8339ecfed1988061ae1805fdf3bfa62b in lucene-solr's branch refs/heads/master from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c3836a2 ] SOLR-9118 : Update CHANGES.txt
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 93201cd07e95620c73cf4a88106df6b7343cdf44 in lucene-solr's branch refs/heads/branch_6x from jbernste
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=93201cd ]

        SOLR-9118: HashQParserPlugin should trim partition keys

        Show
        jira-bot ASF subversion and git services added a comment - Commit 93201cd07e95620c73cf4a88106df6b7343cdf44 in lucene-solr's branch refs/heads/branch_6x from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=93201cd ] SOLR-9118 : HashQParserPlugin should trim partition keys
        Hide
        jira-bot ASF subversion and git services added a comment -

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

        SOLR-9118: Update CHANGES.txt

        Conflicts:
        solr/CHANGES.txt

        Show
        jira-bot ASF subversion and git services added a comment - Commit b1b90152905774ba67a5d1675f939454b1e96b5f in lucene-solr's branch refs/heads/branch_6x from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b1b9015 ] SOLR-9118 : Update CHANGES.txt Conflicts: solr/CHANGES.txt
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit a8ce8dd5982fbf17c12781a500460684615d4cde in lucene-solr's branch refs/heads/branch_6_0 from jbernste
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a8ce8dd ]

        SOLR-9118: HashQParserPlugin should trim partition keys

        Show
        jira-bot ASF subversion and git services added a comment - Commit a8ce8dd5982fbf17c12781a500460684615d4cde in lucene-solr's branch refs/heads/branch_6_0 from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a8ce8dd ] SOLR-9118 : HashQParserPlugin should trim partition keys
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 9b04cd0d091ba79287101bede2a9c3c0bdf21e18 in lucene-solr's branch refs/heads/branch_6_0 from jbernste
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=9b04cd0 ]

        SOLR-9118: Update CHANGES.txt

        Conflicts:
        solr/CHANGES.txt

        Show
        jira-bot ASF subversion and git services added a comment - Commit 9b04cd0d091ba79287101bede2a9c3c0bdf21e18 in lucene-solr's branch refs/heads/branch_6_0 from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=9b04cd0 ] SOLR-9118 : Update CHANGES.txt Conflicts: solr/CHANGES.txt
        Hide
        jira-bot ASF subversion and git services added a comment -

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

        SOLR-9118: HashQParserPlugin should trim partition keys

        Show
        jira-bot ASF subversion and git services added a comment - Commit a14ef4fa8a96038a4d27c67bdec31449136a2119 in lucene-solr's branch refs/heads/branch_5_5 from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a14ef4f ] SOLR-9118 : HashQParserPlugin should trim partition keys
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit b76c442bbb452247fb1094e110b5d184bd8e170b 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=b76c442 ]

        SOLR-9118: Add 5.5.2 CHANGES entry

        Show
        jira-bot ASF subversion and git services added a comment - Commit b76c442bbb452247fb1094e110b5d184bd8e170b 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=b76c442 ] SOLR-9118 : Add 5.5.2 CHANGES entry
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 36649beb0f7cef6d65ec2dd494a37219fbd7f9e3 in lucene-solr's branch refs/heads/branch_5x from jbernste
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=36649be ]

        SOLR-9118: HashQParserPlugin should trim partition keys

        Show
        jira-bot ASF subversion and git services added a comment - Commit 36649beb0f7cef6d65ec2dd494a37219fbd7f9e3 in lucene-solr's branch refs/heads/branch_5x from jbernste [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=36649be ] SOLR-9118 : HashQParserPlugin should trim partition keys
        Hide
        steve_rowe Steve Rowe added a comment -

        Reopening to backport to 5.6 and 5.5.2.

        Show
        steve_rowe Steve Rowe added a comment - Reopening to backport to 5.6 and 5.5.2.
        Hide
        steve_rowe Steve Rowe added a comment -

        Bulk close issues released with 5.5.2.

        Show
        steve_rowe Steve Rowe added a comment - Bulk close issues released with 5.5.2.

          People

          • Assignee:
            joel.bernstein Joel Bernstein
            Reporter:
            joel.bernstein Joel Bernstein
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development