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

Re: Solr query processing

2013-09-24 Thread Erick Erickson
bq: As an aside, it would be nice if the queryparser could do the same thing in Lucene Lucene does not and (probably) will not ever know anything about the schema. It's purposely unaware of this higher-level construct. I wish you great good luck persuading the lucene guys to have anything like a s

Re: Solr query processing

2013-09-23 Thread Otis Gospodnetic
That's right. Otis Solr & ElasticSearch Support http://sematext.com/ On Sep 23, 2013 12:55 PM, "Scott Smith" wrote: > I just want to state a couple of things and hear someone say, "that's > right". > > > 1. In a solr query you can have multiple fq's, but only a single q. > And yes, I can

Solr query processing

2013-09-23 Thread Scott Smith
I just want to state a couple of things and hear someone say, "that's right". 1. In a solr query you can have multiple fq's, but only a single q. And yes, I can simply AND the multiple "q"s together. Just want to avoid that if I'm wrong. 2. A subtler issue is that when a full que