I'd rather we remove all three and encourage users to issue API commands via curl.
I'm very much in favour of the scripts being used for only essential tasks, but not for things where the API can be used. With the APIs being the primary means to achieve tasks, users develop more familiarity when starting out. On Sun, 9 Jul, 2023, 1:20 am Eric Pugh, <ep...@opensourceconnections.com> wrote: > We have three commands in SolrCLI that create things: > > create_core which only works in self managed mode. > create_collection which only works in solr cloud mode. > > And then… > > create that attempts to figure out what mode you are in and do the right > thing…. > > Wondering if this is really helping anyone? Thoughts on either > eliminating the “create” command, or alternatively, eliminating the > “create_core” and “create_collection” commands, and only preserving > “create”? > > Feels like right now we have sort of the worst of all worlds with multiple > ways of doing the same thing... > > Eric > > > > > _______________________ > Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | > http://www.opensourceconnections.com < > http://www.opensourceconnections.com/> | My Free/Busy < > http://tinyurl.com/eric-cal> > Co-Author: Apache Solr Enterprise Search Server, 3rd Ed < > https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> > > This e-mail and all contents, including attachments, is considered to be > Company Confidential unless explicitly stated otherwise, regardless of > whether attachments are marked as such. > >