Hi, There are two ways to query multiple collections as far as I know:
1) If your set of collections are fixed, you can use an alias pointing to multiple collections and query the alias as if it was a regular collection, replacing the name of the collection in URL with the alias 2) If your set of collections are dynamic, you can use a comma “,” between them in the url to query all of them at the same time 1) myAlias -> collectionA, collectionB, collectionC send query to http://yourSolrAddress:8983/solr/myAlias/select 2) use like http://yourSolrAddress:8983/solr/collectionA,collectionB,collectionC/select hope it helps -ufuk yilmaz Sent from Mail for Windows 10 From: HariBabu kuruva Sent: 23 April 2021 15:38 To: [email protected] Subject: query multiple collections at a time Hi Everyone, We generally query a solr store (collection) in the solr UI by selecting each collection. I would like to query multiple collections at a time, do we have any backend command line scripts/commands. Could you please share it really helps. Please let me know if more information is required. Solr version: 8.1.1 -- Thanks and Regards, Hari Mobile:9790756568
