: 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
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
: 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
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
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]
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
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
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"
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
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:
+() ()
I found a weird behavior with the Solr defType argument, perhaps with
respect to default queries?
defType=dismax&q=*:* no hits
q={!defType=dismax}*:* hits
defType=dismax hits
Here is the request handler, which I explicitly indicate:
lucene
11 matches
Mail list logo