You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexey Serba (JIRA)" <ji...@apache.org> on 2012/09/12 13:08:07 UTC

[jira] [Created] (SOLR-3828) Query Elevation component boosts excluded results in markExcludes mode

Alexey Serba created SOLR-3828:
----------------------------------

             Summary: Query Elevation component boosts excluded results in markExcludes mode
                 Key: SOLR-3828
                 URL: https://issues.apache.org/jira/browse/SOLR-3828
             Project: Solr
          Issue Type: Bug
          Components: SearchComponents - other
    Affects Versions: 4.0-BETA
            Reporter: Alexey Serba
            Priority: Trivial
             Fix For: 4.0


Query Elevation component boosts excluded results in markExcludes=true mode causing them to be higher on results than they should.

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Resolved] (SOLR-3828) Query Elevation component boosts excluded results in markExcludes mode

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man resolved SOLR-3828.
----------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
         Assignee: Hoss Man

Looking back at SOLR-2977 and r1222234 where these lines of code were added, i think it was just a brain fart on grant's part -- he introduced a code branch in a place where (previously) BooleanClauses were always added with MUST_NOT and now that he didn't wnat to actaully exclude them, just mark them, he cloned that code and had it use SHOULD instead.

but i agree, that doesn't make any sense -- the set of results using markExclude=true should be the same as the set of results you get not using the elevation component at all, and the scores of the excluded docs shouldn't change.

Committed revision 1384567.
Committed revision 1384577. - 4x

Thanks for finding this and providing the test alexey!



                
> Query Elevation component boosts excluded results in markExcludes mode
> ----------------------------------------------------------------------
>
>                 Key: SOLR-3828
>                 URL: https://issues.apache.org/jira/browse/SOLR-3828
>             Project: Solr
>          Issue Type: Bug
>          Components: SearchComponents - other
>    Affects Versions: 4.0-BETA
>            Reporter: Alexey Serba
>            Assignee: Hoss Man
>            Priority: Trivial
>             Fix For: 4.0, 5.0
>
>         Attachments: SOLR-3828.patch
>
>
> Query Elevation component boosts excluded results in markExcludes=true mode causing them to be higher on results than they should.

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3828) Query Elevation component boosts excluded results in markExcludes mode

Posted by "Alexey Serba (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Serba updated SOLR-3828:
-------------------------------

    Attachment: SOLR-3828.patch

Attached patch (fix + test).
                
> Query Elevation component boosts excluded results in markExcludes mode
> ----------------------------------------------------------------------
>
>                 Key: SOLR-3828
>                 URL: https://issues.apache.org/jira/browse/SOLR-3828
>             Project: Solr
>          Issue Type: Bug
>          Components: SearchComponents - other
>    Affects Versions: 4.0-BETA
>            Reporter: Alexey Serba
>            Priority: Trivial
>             Fix For: 4.0
>
>         Attachments: SOLR-3828.patch
>
>
> Query Elevation component boosts excluded results in markExcludes=true mode causing them to be higher on results than they should.

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org