Yep setting mm=1 did the trick for us. Thanks!
Howard Lee-2 wrote: > > I don't think the defaultOperator applies to Dismax in the same way as the > Standard Request Handler. The Dismax handler uses the mm (Minimum 'Should' > Match) parameter to specify how many words should match the query. You > may need to change this to get it working the way you want it. > > http://wiki.apache.org/solr/DisMaxRequestHandler?highlight=%28CategorySolrRequestHandler%29%7C%28%28CategorySolrRequestHandler%29%29#head-6c5fe41d68f3910ed544311435393f5727408e61 > > Howard > > 2008/4/28 briand <[EMAIL PROTECTED]>: > >> >> I'm searching using query of 'food' and get back 572 results. When I do >> a >> search for 'food drink' I am expecting more results since it's defaulting >> to >> ORing the search terms, however, I now get back 6 results. I'm sure I'm >> doing something stupid, but I don't know what for sure. I am using a >> DismaxQueryHandler for this and boosting certain fields. I've included >> some of the debug info for the 'food drink' results. Thanks. >> >> <str name="rawquerystring">food drink >> </str> >> <str name="querystring">food drink >> >> <str name="parsedquery"> >> +((DisjunctionMaxQuery((summary:food^2.0 | places:food^2.5 | >> tags:food^10.0 >> | content:food | name:food^15.0 | author:food^10.0 | >> locations:food^5.0)~0.01) DisjunctionMaxQuery((summary:drink^2.0 | >> places:drink^2.5 | tags:drink^10.0 | content:drink | name:drink^15.0 | >> author:drink^10.0 | locations:drink^5.0)~0.01))~2) >> DisjunctionMaxQuery((summary:"food drink"~2^2.0 | places:"food >> drink"~2^2.5 >> | tags:"food drink"~2^10.0 | content:"food drink"~2 | name:"food >> drink"~2^15.0 | author:"food drink"~2^10.0 | locations:"food >> drink"~2^5.0)~0.01) >> >> >> -- >> View this message in context: >> http://www.nabble.com/querying-with-two-words-returns-less-results-when-ORing-terms-tp16942461p16942461.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/querying-with-two-words-returns-less-results-when-ORing-terms-tp16942461p16945652.html Sent from the Solr - User mailing list archive at Nabble.com.