lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: using dismax
Date Tue, 18 Jan 2011 16:37:41 GMT
If you're trying to get to a dismax parser (named "dismax" in
solrconfig.xml),
you need to specify qt=dismax. NOTE: the Wiki is a bit confusing on this
point, the fact that the dismax parser is *named* dismax in the
solrconfig.xml
file is coincidence, you could name it "erick" and specify qt=erick and get
there.

Markus' comments are if you're specifying a dismax parser entirely on the
request
line, not getting to the one you may have defined in solrconfig.xml. Both
are entirely
valid ways of using dismax....

Best
Erick

On Tue, Jan 18, 2011 at 9:50 AM, Tri Nguyen <tringuyen99@yahoo.com> wrote:

> Hi,
>
> Maybe I'm missing something obvious.
>
> I'm trying to use the dismax parser and it doesn't seem like I'm using it
> properly.
>
> When I do this:
> http://localhost:8080/solr/cs/select?q=(poi_id:3)
>
> I get a row returned.
>
> When I incorporate dismax and say mm=1, no results get returned.
> http://localhost:8080/solr/cs/select?q=(poi_id:3)&defType=dismax&mm=1
>
> What I wanted to do when I specify mm=1 is to say at least 1 query
> parameter matches.
>
> What am I missing?
>
> Thanks,
>
> Tri

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message