Re: Strange problem when use dismax handler

2010-06-30 Thread Scott Zhang
Well. I figured it out. I should use fq parameter. &fq=type:music type:movie type:product On Wed, Jun 30, 2010 at 4:15 PM, Scott Zhang wrote: > I use debugQuery to check my query url: > I notice the query url is parsed incorrectly. > > The "type:book" was parsed as query string too. Sign~~~

Re: Strange problem when use dismax handler

2010-06-30 Thread Scott Zhang
I use debugQuery to check my query url: I notice the query url is parsed incorrectly. The "type:book" was parsed as query string too. Sign~~~ +((+DisjunctionMaxQuery((keyword_level1:design^10.0 | keyword_level2:design)~0.01) DisjunctionMaxQuery((keyword_level1:type^10.0 | keyword_level2:type)~0.0

Strange problem when use dismax handler

2010-06-30 Thread Scott Zhang
Hi. All. I am using default dismax to search within solr. The problem is when I search I want to specify the "type" to restrict the result. Here is what I do: 1. Query String with one type (Works!) :"design")) AND ((type:"product") ))) 2. Query String with 2 types (Works!) :"design")) AN