In my application I need to create and destroy indexes via java code, so
to bypass the http requests I'm using the EmbeddedSolrServer, and I am
creating different SolrCore(s) one per every index I need.
Now the point is that a requirement of my application is the capability
to perfom a query on a specific index, on a subset of indexes, or on
every index.
I have been looking to the "shred" parameter:
<http://localhost:8080/solr/core1/select?shards=localhost:8080/solr/core1,localhost:8080/solr/core2&q=some>http://localhost:8080/solr/core1/select?shards=localhost:8080/solr/core1,localhost:8080/solr/core2&q=some
query...
...and ok, but my solr core instances doesn't expose an http interface,
so how can I shred a query between all my solr cores?
Thanks in advance,
Claudio