> > Your message history on this list mentions SolrCloud quite frequently, > but your message specifically says "cores" ... which would tend to mean > that it's NOT SolrCloud.
I am trying to implement solr cloud, but there is lot to test before implementation. And on our live servers we are using without solr cloud. > If it is cloud, you could create a collection alias that points at both > collections, then use the alias in your queries to query them both. > > https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api4 This is pretty cool thanks for the suggestion shawn :) With Regards Aman Tandon On Fri, Apr 3, 2015 at 11:11 AM, Shawn Heisey <apa...@elyograg.org> wrote: > On 4/2/2015 11:30 PM, Aman Tandon wrote: > > I have two cores one contains the data of jeans and other core contains > > data of shirts available to user. I want to show count of shirts and > jeans > > on my website from one solr request. > > > > Is there any functionality available i solr by which I can get the > combined > > facet from both the cores (jeans & shirts). > > Are the schemas of the two cores the same, or at least very similar? At > a bare minimum, they would need to use the same field name for the > uniqueKey, but substantial similarity, at least on the fields that you > will be querying and faceting, is usually required. > > If the answer to that question is yes, you may be able to do a > distributed search. > > Your message history on this list mentions SolrCloud quite frequently, > but your message specifically says "cores" ... which would tend to mean > that it's NOT SolrCloud. > > If it is cloud, you could create a collection alias that points at both > collections, then use the alias in your queries to query them both. > > > https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api4 > > If it's not SolrCloud, then you can use the older method for distributed > searching: > > https://wiki.apache.org/solr/DistributedSearch > > Thanks, > Shawn > >