Re: SolrCloud versus a SearchComponent that rescores

2012-04-10 Thread Benson Margulies
I've updated the doc with my findings. Thanks for the pointer.

Re: SolrCloud versus a SearchComponent that rescores

2012-04-10 Thread Benson Margulies
Another thought: currently I'm using qt=ME to indicate this process. I could, in theory, use some ME=true and make my components check for it to avoid this process, but it seems kind of peculiar from an end-user standpoint.

Re: SolrCloud versus a SearchComponent that rescores

2012-04-10 Thread Benson Margulies
On Mon, Apr 9, 2012 at 9:36 PM, Mark Miller wrote: > Yeah, that's how it works - it ends up hitting the select request handler > (this might be overridable with shards.qt) All the params are passed along, > so in general, it will act the same as the top level req handler - but it can > the remo

Re: SolrCloud versus a SearchComponent that rescores

2012-04-09 Thread Mark Miller
Yeah, that's how it works - it ends up hitting the select request handler (this might be overridable with shards.qt) All the params are passed along, so in general, it will act the same as the top level req handler - but it can the remove the shards param so you don't have an infinite recursion

Re: SolrCloud versus a SearchComponent that rescores

2012-04-09 Thread Benson Margulies
Um, maybe I've hit a quirk? In my solrconfig.xml, my special SearchComponents are installed only for a specific QT. So, it looks to me as if that QT is not propagated into the request out to the shards, and so they run the ordinary request handler without my components in it. Is this intended beh

Re: SolrCloud versus a SearchComponent that rescores

2012-04-09 Thread Benson Margulies
That page seems to be saying that the 'distributed' APIs take place on the leader, and the ordinary prepare/process APIs out at the leaves. I'll set out to prove or disprove that tomorrow. On Mon, Apr 9, 2012 at 8:17 PM, Mark Miller wrote: > > On Apr 9, 2012, at 7:34 PM, Benson Margulies wrote:

Re: SolrCloud versus a SearchComponent that rescores

2012-04-09 Thread Mark Miller
On Apr 9, 2012, at 7:34 PM, Benson Margulies wrote: > Those of you insomniacs who have read my messages here over the last > few weeks might recall that I've been working on a request handler > that wraps the SearchHandler to rewrite queries and then reorder > results. > > (I haven't quite worke

SolrCloud versus a SearchComponent that rescores

2012-04-09 Thread Benson Margulies
Those of you insomniacs who have read my messages here over the last few weeks might recall that I've been working on a request handler that wraps the SearchHandler to rewrite queries and then reorder results. (I haven't quite worked out how to apply Grant's alternative suggestions without losing