1
votes

I'm creating an aliase using solr

http://localhost:8983/solr/admin/collections?action=CREATEALIAS&name=testalias&collections=anotherCollection,testCollection

now if collection list goes beyond 300 collection's then solr is throwing "URI is too Large" exception. While researching i have found a solution to make POST request but solr has GET request for create aliase API. How can i do that?

1

1 Answers

0
votes

You can submit exactly the same parameters as a POST request insted. It'll work the same as when the parameters are submitted as a GET request.

The use case is exactly this - many times the set of parameters sent for a query exceeds the allowed URI length.