You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2015/11/05 21:34:27 UTC

[jira] [Updated] (LUCENE-6887) 5x: backport ClassicSimilarity, mark DefaultSimilarity deprecated & update javadocs to mention ClassicSim vs. BM25Sim

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

Hoss Man updated LUCENE-6887:
-----------------------------
    Attachment: LUCENE-6887.patch

patch for 5x branch with changes (generated using {{svn diff --git}} to preserve the file copy info)



> 5x: backport ClassicSimilarity, mark DefaultSimilarity deprecated & update javadocs to mention ClassicSim vs. BM25Sim
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-6887
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6887
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 5.4
>
>         Attachments: LUCENE-6887.patch
>
>
> LUCENE-6789 changed the default Similarity on trunk to BM25, and renamed DefaultSimiliarity to ClassicSimilarity for backcompat w/o confusion about the "default" name.
> But nothing related to this change was committed to the 5x branch.
> On the 5x branch we should:
> * mark DefaultSimiliarity deprecated
> * provide a ClassicSimilarity for 5.x users to switch to to resolve deprecations w/o changing behavior (and allow smooth upgrade to 6.x later)
> * note in the DefaultSimiliarity javadocs that starting with 6.0 BM25 will be the recommended default and users should investigate it



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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