lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <markus.jel...@openindex.io>
Subject Re: using dismax
Date Tue, 18 Jan 2011 16:52:54 GMT
Erick,

The wt parameter does not specifiy the parser but the request handler to use. 
Except the confusion between parser and request handler you're entirely right.

Cheers

On Tuesday 18 January 2011 17:37:41 Erick Erickson wrote:
> 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

-- 
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350

Mime
View raw message