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

Deprecate collection methods on MiniSolrCloudCluster

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      MiniSolrCloudCluster has a bunch of createCollection() and deleteCollection() special methods, which aren't really necessary given that we expose a solrClient. We should deprecate these, and point users to the CollectionAdminRequest API instead.

      1. SOLR-9634.patch
        78 kB
        Alan Woodward

        Activity

        Hide
        romseygeek Alan Woodward added a comment -

        Patch deprecating the collection methods, and cutting tests over to use CollectionAdminRequests instead.

        This also deprecates the uploadConfig() method that uses java.io.File in favour of one using java.nio.Path

        Show
        romseygeek Alan Woodward added a comment - Patch deprecating the collection methods, and cutting tests over to use CollectionAdminRequests instead. This also deprecates the uploadConfig() method that uses java.io.File in favour of one using java.nio.Path
        Hide
        jira-bot ASF subversion and git services added a comment -

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

        SOLR-9634: Deprecate create/deleteCollection methods on MiniSolrCloudCluster

        Show
        jira-bot ASF subversion and git services added a comment - Commit df09867cccc3860fa8311f35577416d1b706d1fd in lucene-solr's branch refs/heads/branch_6x from Alan Woodward [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=df09867 ] SOLR-9634 : Deprecate create/deleteCollection methods on MiniSolrCloudCluster
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 67f3f433e2359aedd3a28bf4c3c01875e4c5d14a in lucene-solr's branch refs/heads/master from Alan Woodward
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=67f3f43 ]

        SOLR-9634: Deprecate create/deleteCollection methods on MiniSolrCloudCluster

        Show
        jira-bot ASF subversion and git services added a comment - Commit 67f3f433e2359aedd3a28bf4c3c01875e4c5d14a in lucene-solr's branch refs/heads/master from Alan Woodward [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=67f3f43 ] SOLR-9634 : Deprecate create/deleteCollection methods on MiniSolrCloudCluster
        Hide
        jira-bot ASF subversion and git services added a comment -

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

        SOLR-9634: Remove deprecated methods

        Show
        jira-bot ASF subversion and git services added a comment - Commit b2188f4958c243dcdeca3d44ede5bc3c13542dcb in lucene-solr's branch refs/heads/master from Alan Woodward [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b2188f4 ] SOLR-9634 : Remove deprecated methods
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 9ee84db6144ca84d909739fafc02f10b810806b3 in lucene-solr's branch refs/heads/branch_6x from Alan Woodward
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=9ee84db ]

        SOLR-9634: Fix precommit

        Show
        jira-bot ASF subversion and git services added a comment - Commit 9ee84db6144ca84d909739fafc02f10b810806b3 in lucene-solr's branch refs/heads/branch_6x from Alan Woodward [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=9ee84db ] SOLR-9634 : Fix precommit
        Hide
        jira-bot ASF subversion and git services added a comment -

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

        SOLR-9634: correct name of deprecated/removed method in solr/CHANGES.txt

        Show
        jira-bot ASF subversion and git services added a comment - Commit 37871de29bc5bd329eeb2f6867f3f8ca3b96e84f in lucene-solr's branch refs/heads/master from Christine Poerschke [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=37871de ] SOLR-9634 : correct name of deprecated/removed method in solr/CHANGES.txt
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 16b4e220973763cf5bcfd0018555c32b6067ccff 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=16b4e22 ]

        SOLR-9634: correct name of deprecated/removed method in solr/CHANGES.txt

        Show
        jira-bot ASF subversion and git services added a comment - Commit 16b4e220973763cf5bcfd0018555c32b6067ccff 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=16b4e22 ] SOLR-9634 : correct name of deprecated/removed method in solr/CHANGES.txt
        Hide
        shalinmangar Shalin Shekhar Mangar added a comment -

        Closing after 6.3.0 release.

        Show
        shalinmangar Shalin Shekhar Mangar added a comment - Closing after 6.3.0 release.

          People

          • Assignee:
            romseygeek Alan Woodward
            Reporter:
            romseygeek Alan Woodward
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development