[
https://issues.apache.org/jira/browse/SOLR-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13662455#comment-13662455
]
Naomi Dushay edited comment on SOLR-2649 at 5/20/13 11:41 PM:
--------------------------------------------------------------
Our dismax mm setting is 6<-1 6<90%.
I would like our mm to be honored for the top-level SHOULD clauses. Oh please,
oh please?
EDISMAX
q=customer driven academic library:
+(((custom)~0.01 (driven)~0.01 (academ)~0.01 (librari)~0.01)~4) 4 hits
customer NOT driven academic library:
+((custom)~0.01 -(driven)~0.01 (academ)~0.01 (librari)~0.01) 984300
hits <= INSANE
customer -driven academic library:
+((custom)~0.01 -(driven)~0.01 (academ)~0.01 (librari)~0.01) 984300
hits <= INSANE
customer OR academic OR library NOT driven:
+((custom)~0.01 (academ)~0.01 (librari)~0.01 -(driven)~0.01) 984300
hits
customer academic library:
+(((custom)~0.01 (academ)~0.01 (librari)~0.01)~3) 100 hits
DISMAX (plausible results!):
customer driven academic library:
+(((custom)~0.01 (driven)~0.01 (academ)~0.01 (librari)~0.01)~4) ()
4 hits
customer NOT driven academic library:
+(((custom)~0.01 -(driven)~0.01 (academ)~0.01 (librari)~0.01)~3) ()
96 hits
customer -driven academic library:
+(((custom)~0.01 -(driven)~0.01 (academ)~0.01 (librari)~0.01)~3) ()
96 hits
customer academic library:
+(((custom)~0.01 (academ)~0.01 (librari)~0.01)~3)()
100 hits
was (Author: ndushay):
Our dismax mm setting is 6<-1 6<90%.
I would like our mm to be honored for the top-level SHOULD clauses. Oh please,
oh please?
EDISMAX
q=customer driven academic library:
+(((custom)~0.01 (driven)~0.01 (academ)~0.01 (librari)~0.01)~4) 4 hits
customer NOT driven academic library:
+((custom)~0.01 -(driven)~0.01 (academ)~0.01 (librari)~0.01) 984300
hits <= INSANE
customer -driven academic library:
+((custom)~0.01 -(driven)~0.01 (academ)~0.01 (librari)~0.01) 984300
hits <= INSANE
customer OR academic OR library NOT driven:
+((custom)~0.01 (academ)~0.01 (librari)~0.01 -(driven)~0.01) 984300
hits
customer academic library:
+(((custom)~0.01 (academ)~0.01 (librari)~0.01)~3) 100 hits
DISMAX (plausible results!):
customer driven academic library:
+(((custom)~0.01 (driven)~0.01 (academ)~0.01 (librari)~0.01)~4) () 4 hits
customer NOT driven academic library:
+(((custom)~0.01 -(driven)~0.01 (academ)~0.01 (librari)~0.01)~3) () 96 hits
customer -driven academic library:
+(((custom)~0.01 -(driven)~0.01 (academ)~0.01 (librari)~0.01)~3) () 96 hits
customer academic library:
+(((custom)~0.01 (academ)~0.01 (librari)~0.01)~3)() 100 hits
> MM ignored in edismax queries with operators
> --------------------------------------------
>
> Key: SOLR-2649
> URL: https://issues.apache.org/jira/browse/SOLR-2649
> Project: Solr
> Issue Type: Bug
> Components: query parsers
> Reporter: Magnus Bergmark
> Priority: Minor
> Fix For: 4.4
>
>
> Hypothetical scenario:
> 1. User searches for "stocks oil gold" with MM set to "50%"
> 2. User adds "-stockings" to the query: "stocks oil gold -stockings"
> 3. User gets no hits since MM was ignored and all terms where AND-ed
> together
> The behavior seems to be intentional, although the reason why is never
> explained:
> // For correct lucene queries, turn off mm processing if there
> // were explicit operators (except for AND).
> boolean doMinMatched = (numOR + numNOT + numPluses + numMinuses) == 0;
> (lines 232-234 taken from
> tags/lucene_solr_3_3/solr/src/java/org/apache/solr/search/ExtendedDismaxQParserPlugin.java)
> This makes edismax unsuitable as an replacement to dismax; mm is one of the
> primary features of dismax.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]