Hello, i have had this issue as well. I patched QueryComponent and some other files that are used by QueryComponent so that it is finally possible to extend QueryComponent. https://issues.apache.org/jira/browse/SOLR-7968
-----Original message----- > From:Mohan gupta <mohangupt...@gmail.com> > Sent: Tuesday 1st September 2015 17:09 > To: solr-user@lucene.apache.org > Subject: Re: Custom merge logic in SolrCloud. > > *Bump* > > On Tue, Sep 1, 2015 at 1:17 AM, Mohan gupta <mohangupt...@gmail.com> wrote: > > > Hi Folks, > > > > I need to merge docs received from multiple shards via a custom logic, a > > straightforward score based priority queue doesn't work for my scenario (I > > need to maintain a blend/distribution of docs). > > > > How can I plugin my custom merge logic? One way might be to fully > > implement the QueryComponent but that seems like a lot of work, is there a > > simpler way? > > > > I need my custom logic to kick-in in very specific cases and most of the > > cases can still use default QueryComponent, was there a reason to make > > merge functionality private (non-overridable) in the QueryComponent class? > > > > -- > > Regards , > > Mohan Gupta > > > > > > -- > Regards , > Mohan Gupta >