Solr
  1. Solr
  2. SOLR-5547

SolrJ Create Alias Incorrect/Failing

    Details

      Description

      Creating a collection alias using SolrJ sets the alias name and the collections to alias to the same value. Line 200 of CollectionAdminRequest.java should likely read params.set( "collections", aliasedCollections);

        Activity

        Hide
        Mark Miller added a comment -

        You can work around this my simply using raw solrj apis to set the params yourself, so lowering this priority from critical.

        Here is a patch with additional testing.

        Show
        Mark Miller added a comment - You can work around this my simply using raw solrj apis to set the params yourself, so lowering this priority from critical. Here is a patch with additional testing.
        Hide
        ASF subversion and git services added a comment -

        Commit 1550548 from Mark Miller in branch 'dev/trunk'
        [ https://svn.apache.org/r1550548 ]

        SOLR-5547: Creating a collection alias using SolrJ's CollectionAdminRequest sets the alias name and the collections to alias to the same value.

        Show
        ASF subversion and git services added a comment - Commit 1550548 from Mark Miller in branch 'dev/trunk' [ https://svn.apache.org/r1550548 ] SOLR-5547 : Creating a collection alias using SolrJ's CollectionAdminRequest sets the alias name and the collections to alias to the same value.
        Hide
        ASF subversion and git services added a comment -

        Commit 1550549 from Mark Miller in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1550549 ]

        SOLR-5547: Creating a collection alias using SolrJ's CollectionAdminRequest sets the alias name and the collections to alias to the same value.

        Show
        ASF subversion and git services added a comment - Commit 1550549 from Mark Miller in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1550549 ] SOLR-5547 : Creating a collection alias using SolrJ's CollectionAdminRequest sets the alias name and the collections to alias to the same value.
        Hide
        Mark Miller added a comment -

        Thanks Aaron!

        Show
        Mark Miller added a comment - Thanks Aaron!
        Hide
        Aaron Schram added a comment -

        Thank you Mark! I appreciate it. It's great to have the Collections API in SolrJ.

        Show
        Aaron Schram added a comment - Thank you Mark! I appreciate it. It's great to have the Collections API in SolrJ.
        Hide
        ASF subversion and git services added a comment -

        Commit 1553977 from Mark Miller in branch 'dev/branches/lucene_solr_4_6'
        [ https://svn.apache.org/r1553977 ]

        SOLR-5547: Creating a collection alias using SolrJ's CollectionAdminRequest sets the alias name and the collections to alias to the same value.

        Show
        ASF subversion and git services added a comment - Commit 1553977 from Mark Miller in branch 'dev/branches/lucene_solr_4_6' [ https://svn.apache.org/r1553977 ] SOLR-5547 : Creating a collection alias using SolrJ's CollectionAdminRequest sets the alias name and the collections to alias to the same value.
        Hide
        ASF subversion and git services added a comment -

        Commit 1553979 from Mark Miller in branch 'dev/trunk'
        [ https://svn.apache.org/r1553979 ]

        SOLR-5547: Move CHANGES entry to 4.6.1

        Show
        ASF subversion and git services added a comment - Commit 1553979 from Mark Miller in branch 'dev/trunk' [ https://svn.apache.org/r1553979 ] SOLR-5547 : Move CHANGES entry to 4.6.1
        Hide
        ASF subversion and git services added a comment -

        Commit 1553980 from Mark Miller in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1553980 ]

        SOLR-5547: Move CHANGES entry to 4.6.1

        Show
        ASF subversion and git services added a comment - Commit 1553980 from Mark Miller in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1553980 ] SOLR-5547 : Move CHANGES entry to 4.6.1

          People

          • Assignee:
            Mark Miller
            Reporter:
            Aaron Schram
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development