Is it possible to return which collection a matching document came from, when 
querying against an alias?

Suppose alias “myAlias” is pointing to collections c1, c2 and c3 and we are 
querying:

/solr/myAlias?q=id:123

I’m trying to get a response similar to:

[{ “id”: 123, “collection”: “c2”}]

Core name, shard name would be useful too, since I can extract collection name 
from them.

Is this achievable?

Thanks
~ufuk

Sent from Mail for Windows 10

Reply via email to