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 15:02:05 GMT
with dismax you must specifiy fields to query upon in the qf parameter and the 
value for which you want to search through those fields in q.

defType=lucene&q=poi_id:3

defType=dismax&q=3&qf=poi_id

See the DisMaxQParser wiki for more

On Tuesday 18 January 2011 15:50:34 Tri Nguyen 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