Re: SolrClient query-param handling question

2025-01-10 Thread Mark Miller
That would normally be done if you want to get those params before you have parsed the form data. At some point, there were cases of that. And it’s likely done with an attempt to be generic and work with whatever format since it’s essentially a feature in user code. If the current use doesn’t need

Re: SolrClient query-param handling question

2025-01-10 Thread David Smiley
The method org.apache.solr.client.solrj.impl.HttpSolrClientBuilderBase#withTheseParamNamesInTheUrl is only used by UpdateShardHandler so that "distrib.from" and "update.distrib" (used by DistributedUpdateProcessor) are guaranteed to be in the URL. It appears Dat added this during the http2 branch