Re: Solr Query Processing Detail

2016-06-23 Thread John Bickerstaff
Perfect - got it. Now I know where I stand when I'm writing the bq, bf, etc... Thank you very much. On Thu, Jun 23, 2016 at 1:35 PM, Erick Erickson wrote: > bq: > > My big question however is whether I can > trust that the Boost Functions and > Boost Query are running against the entire index

Re: Solr Query Processing Detail

2016-06-23 Thread Erick Erickson
bq: My big question however is whether I can trust that the Boost Functions and Boost Query are running against the entire index In a word "no". The bf's are intended to alter the score of the documents found by the primary query by multiplying the function results by the raw score. If a documen

Re: Solr Query Processing Detail

2016-06-22 Thread John Bickerstaff
Oh - gotcha... Thanks for taking the time to reply. My use of the phrase "sub query" is probably misleading... Here's the XML (below). I'm calling the Boost Query and Boost Function statements "sub queries"... The thing I was referencing was this -- where I create an "alias" for the query (tit

Re: Solr Query Processing Detail

2016-06-22 Thread Erick Erickson
John: I'm not objecting to the XML, but to the very presence of "more than one query in a request handler". Request handlers don't have, AFAIK, "query chains". They have a list of defaults for the _single_ query being sent at a time to that handler. So having blah blah is something I've never

Re: Solr Query Processing Detail

2016-06-22 Thread John Bickerstaff
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 ki

Re: Solr Query Processing Detail

2016-06-21 Thread Erick Erickson
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 O

Solr Query Processing Detail

2016-06-21 Thread John Bickerstaff
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: {!edismax qf=blah, blah} {!edismax qf=blah, blah} My question is: What does Query2 run "against