Re: Thoughts on eliminating the "bin/solr create" command?

2023-07-08 Thread Eric Pugh
I hear you on the API thing…. One reason why I’ve become more bullish on the Solr CLI is that in the future we’ll have better security. Curl is great until you start needing to generate JWT tokens and participate in an oAuth lifecycle before you can issue a request and then it’s a pain. I’m

Re: Thoughts on eliminating the "bin/solr create" command?

2023-07-08 Thread Ishan Chattopadhyaya
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 s

Thoughts on eliminating the "bin/solr create" command?

2023-07-08 Thread Eric Pugh
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?