Re: defType

2013-08-10 Thread Koji Sekiguchi
See line 33 to 50 at http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/QParserPlugin.java?view=markup koji -- http://soleami.com/blog/automatically-acquiring-synonym-knowledge-from-wikipedia.html (13/08/11 8:05), William Bell wrote: Can you list them out?

Re: defType

2013-08-10 Thread Erik Hatcher
See http://slideshare.net/erikhatcher/solr-query-parsing slides 4 and 5 Plus whatever's been added since then. Erik On Aug 10, 2013, at 19:05, William Bell wrote: > Can you list them out? > > Thanks. > > raw > lucene > dismax > edismax > field > > > > > On Sat, Aug 10, 2013 at 4:45

Re: defType

2013-08-10 Thread William Bell
Can you list them out? Thanks. raw lucene dismax edismax field On Sat, Aug 10, 2013 at 4:45 PM, Jack Krupansky wrote: > The full list is in my book. What did you need in particular? > > (Actually, I forgot to add "maxscore" to my list.) > > -- Jack Krupansky > > -Original Message- Fr

Re: defType

2013-08-10 Thread Jack Krupansky
The full list is in my book. What did you need in particular? (Actually, I forgot to add "maxscore" to my list.) -- Jack Krupansky -Original Message- From: William Bell Sent: Saturday, August 10, 2013 6:30 PM To: solr-user@lucene.apache.org Subject: defType What are the possible

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 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-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 stri

Re: defType argument weirdness

2011-07-20 Thread Yonik Seeley
d for quite a while, and still trips me > up from time to time. > > Jonathan > > 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@l

RE: defType argument weirdness

2011-07-19 Thread Jonathan Rochkind
r). I know it was very confusing to me to keep track of these parameters and what they did for quite a while, and still trips me up from time to time. Jonathan From: ysee...@gmail.com [ysee...@gmail.com] on behalf of Yonik Seeley [yo...@lucidimagination.com]

Re: defType argument weirdness

2011-07-19 Thread Yonik Seeley
On Tue, Jul 19, 2011 at 1:25 PM, Naomi Dushay wrote: > Regardless, I thought that     defType=dismax&q=*:*   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 {!type=dismax}, th

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 defType=dis

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-18 Thread William Bell
dismax does not work with a=*:* defType=dismax&q=*:* no hits You need to switch this to: defType=dismax&q.alt=*:* no hits On Mon, Jul 18, 2011 at 8:44 PM, Erick Erickson wrote: > What are qf_dismax and pf_dismax? They are meaningless to > Solr. Try adding &debugQuery=on to your U

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: +() ()