Hi Erick -

I was trying to simplify and not waste anyone's time parsing my
requestHandler...  That is, as you imply, bogus xml.

The basic question is:  If I have two "sub queries" in a single
requestHandler, do they both run independently against the entire index?

Alternatively, is there some kind of "chain of results" whereby (a la SQL)
earlier result sets are passed to later subqueries and therefore those
later subqueries are ONLY looking at the results of earlier subqueries?

I have always assumed the former (each subquery runs agains the entire
index) but I can't find documentation to prove it and I have some odd
behavior (that I won't go into here yet) that suggests something else is
happening...

Oh - and thanks for the ReRanking mention!  That sounds like it may be
quite useful!

On Wed, Jun 22, 2016 at 12:08 AM, Erick Erickson <erickerick...@gmail.com>
wrote:

> Where are you seeing that this does anything? It wouldn't be the first time
> new functionality happened that I totally missed, but I've never seen that
> config.
>
> You might get some mileage out of ReRankingQParserPlugin though, that runs
> the top N queries from one query through another.
>
> Best,
> Erick
> On Jun 21, 2016 2:43 PM, "John Bickerstaff" <j...@johnbickerstaff.com>
> wrote:
>
> > Hi all,
> >
> > I have a question about whether sub-queries in Solr requestHandlers go
> > against the total index or against the results of the previous query.
> >
> > Here's a simple example:
> >
> > <requestHandler name="/test1" class="solr.SearchHandler">
> >
> >         <str name="Query1">  {!edismax qf=blah, blah}</str>
> >
> >         <str name="Query2">  {!edismax qf=blah, blah}</str>
> >
> > </requestHandler>
> >
> > My question is:
> >
> > What does Query2 run "against"?
> >   a. The entire Solr Index
> >   b. The results of Query1
> >
> > If this is clearly documented anywhere, I'm very interested in a link.
> >
> > Thanks
> >
>

Reply via email to