Hi

I tried to create a testalias and query, i got the below error message.

[image: image.png]

We have the collections fixed, but the sort field to query each collection
is different. Please help me how I can i query in this case.

On Fri, Apr 23, 2021 at 6:16 PM ufuk yılmaz <uyil...@vivaldi.net.invalid>
wrote:

> 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: users@solr.apache.org
> 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
>
>

-- 

Thanks and Regards,
 Hari
Mobile:9790756568

Reply via email to