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

Hoss Man updated SOLR-8261:
---------------------------
    Attachment: SOLR-8261.patch

Quick patch extracted from my older patch in SOLR-8057 ...

* SchemaSimilarityFactory udpated to use BM25 if luceneMatchVersion >= 6
* cloned TestPerFieldSimilarity as TestPerFieldSimilarityClassic
** TestPerFieldSimilarityClassic set's older luceneMatchVersion
** TestPerFieldSimilarity updated to account for new BM25 defaults

...tests & precommit currently pass, but I want to re-review more closely in 
isolation and think about any other tests that should be added before 
committing.



> Change the wrapped per-field default in SchemaSimilarityFactory to BM25 
> (conditional on luceneMatchVersion for backcompat)
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-8261
>                 URL: https://issues.apache.org/jira/browse/SOLR-8261
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: Trunk
>
>         Attachments: SOLR-8261.patch
>
>
> As outlined in parent issue...
> * use ClassicSimilarity as per-field default when luceneMatchVersion < 6.0
> * use BM25Similarity as per-field default when luceneMatchVersion < 6.0



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to