lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Zhang <macromars...@gmail.com>
Subject Strange problem when use dismax handler
Date Wed, 30 Jun 2010 08:08:09 GMT
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")) AND ((type:"product") OR (type:"member"))))
3. Query String with 3 types (Works!)
((((:"design")) AND ((type:"product") OR (type:"member") OR (type:"forum")
)))
4. Query string with more than 3 types (doesn't work!)
((((:"design")) AND ((type:"product") OR (type:"member") OR (type:"forum")
OR (type:"stamp") OR (type:"answer") OR (type:"page"))))
Nothing was returned.
Don't know why. I think this should be caused by dismax setting, probably
mm (Minimum 'Should' Match)

But I have no idea how to configure it?

Please help. Thanks!


Regards.
Scott

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