You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/11/05 22:31:27 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14992516#comment-14992516 ] 

ASF subversion and git services commented on LUCENE-6887:
---------------------------------------------------------

Commit 1712868 from hossman@apache.org in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1712868 ]

LUCENE-6887: DefaultSimilarity is deprecated, use ClassicSimilarity for equivilent behavior, or consider switching to BM25Similarity which will become the new default in Lucene 6.0

> 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