[ 
https://issues.apache.org/jira/browse/SOLR-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lance Norskog resolved SOLR-3636.
---------------------------------

    Resolution: Duplicate

bq. I suspect that this is a variation of SOLR-3589
I bow to your superior skill in understanding query parser code and am closing 
this.

When that and any other problems in this area are fixed, it would be really 
helpful to have one page which explains how query parsers, highlighting, 
synonyms and other algorithms interact. Whenever I combine these, it never 
works in a way that is completely understandable. 
                
> edismax, synonyms and mm=100%
> -----------------------------
>
>                 Key: SOLR-3636
>                 URL: https://issues.apache.org/jira/browse/SOLR-3636
>             Project: Solr
>          Issue Type: Bug
>          Components: query parsers
>            Reporter: Lance Norskog
>            Priority: Minor
>             Fix For: 4.0
>
>
> There is a problem with query-side synonyms, edismax and must-match=100%. 
> edismax interprets must-match=100% as "number of terms found by edismax from 
> the original query". These terms go through the query analyzer, and the 
> synonym filter creates more terms, *but* the must-match term count is not 
> incremented. Thus, given a synonym of
> {code}
> monkeyhouse => monkey house
> {code}
> the query {{q=big+monkeyhouse&mm=100%}} becomes (effectively) 
> {{q=big+monkey+house&mm=2}}. This query finds documents matching only two out 
> of three terms {{big+monkey, monkey+house, big+house}}.
> This might also be a problem in dismax.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to