Re: defType argument weirdness

2011-08-15 Thread Chris Hostetter
: Huh, I'm still not completely following. I'm sure it makes sense if you : understand the underlying implemetnation, but I don't understand how 'type' : and 'defType' don't mean exactly the same thing, just need to be expressed : differently in different location. ... : prefixing def to

Re: defType argument weirdness

2011-07-20 Thread Yonik Seeley
] on behalf of Yonik Seeley [yo...@lucidimagination.com] Sent: Tuesday, July 19, 2011 9:40 PM To: solr-user@lucene.apache.org Subject: Re: defType argument weirdness On Tue, Jul 19, 2011 at 1:25 PM, Naomi Dushay ndus...@stanford.edu wrote: Regardless, I thought that     defType=dismaxq

RE: defType argument weirdness

2011-07-20 Thread Chris Hostetter
: I do understand what they do (at least well enough to use them), but I : find it confusing that it's called defType as a main param, but type : in a LocalParam, when to me they both seem to do the same thing -- which type as a localparam in a query string defines the type of query string

Re: defType argument weirdness

2011-07-20 Thread Jonathan Rochkind
Huh, I'm still not completely following. I'm sure it makes sense if you understand the underlying implemetnation, but I don't understand how 'type' and 'defType' don't mean exactly the same thing, just need to be expressed differently in different location. Sorry for beating a dead horse, but

Re: defType argument weirdness

2011-07-19 Thread Erik Hatcher
On Jul 18, 2011, at 19:15 , Naomi Dushay wrote: I found a weird behavior with the Solr defType argument, perhaps with respect to default queries? q={!defType=dismax}*:* hits this is the confusing one. defType is a Solr request parameter, but not something that works as a local

Re: defType argument weirdness

2011-07-19 Thread Naomi Dushay
qf_dismax and pf_dismax are irrelevant -- I shouldn't have included that info. They are passed in the url and they work; they do not affect this problem. Your reminder of debugQuery was a good one - I use that a lot but forgot in this case. Regardless, I thought that

Re: defType argument weirdness

2011-07-19 Thread Yonik Seeley
On Tue, Jul 19, 2011 at 1:25 PM, Naomi Dushay ndus...@stanford.edu wrote: Regardless, I thought that     defType=dismaxq=*:*   is supposed to be equivalent to  q={!defType=dismax}*:*  and also equivalent to q={!dismax}*:* Not quite - there is a very subtle distinction. {!dismax} is short for

RE: defType argument weirdness

2011-07-19 Thread Jonathan Rochkind
From: ysee...@gmail.com [ysee...@gmail.com] on behalf of Yonik Seeley [yo...@lucidimagination.com] Sent: Tuesday, July 19, 2011 9:40 PM To: solr-user@lucene.apache.org Subject: Re: defType argument weirdness On Tue, Jul 19, 2011 at 1:25 PM, Naomi Dushay ndus...@stanford.edu

Re: defType argument weirdness

2011-07-18 Thread Erick Erickson
What are qf_dismax and pf_dismax? They are meaningless to Solr. Try adding debugQuery=on to your URL and you'll see the parsed query, which helps a lot here If you change these to the proper dismax values (qf and pf) you'll get beter results. As it is, I think you'll see output like: str

Re: defType argument weirdness

2011-07-18 Thread William Bell
dismax does not work with a=*:* defType=dismaxq=*:* no hits You need to switch this to: defType=dismaxq.alt=*:* no hits On Mon, Jul 18, 2011 at 8:44 PM, Erick Erickson erickerick...@gmail.com wrote: What are qf_dismax and pf_dismax? They are meaningless to Solr. Try adding