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/10 23:11:10 UTC

[jira] [Updated] (SOLR-8270) Make BM25SimFactory the implicit default when no sim is configured for luceneMatch > 6.0

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

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

Patch so far, still vetting/testing...

* IndexSchema
** checks luceneMatchVersion to decide what implicit SimFactory to use
* TestNonDefinedSimilarityFactory
** existing test now asserts schema-tiny.xml will get BM25Similarity
** new test method that sets luceneMatchVersion before initing core and asserts ClassicSimilarity for same schema
* Misc tests updated to account for new BM25 default behavior...
** TestGroupingSearch
** QueryElevationComponentTest
** StatsComponentTest
** TestSchemaSimilarityResource
** ChangedSchemaMergeTest
** TestExtendedDismaxParser
** TestReRankQParserPlugin
** TestSolrQueryParser
** SchemaTest
* TestFunctionQuery
** refactored so that tf/idf function could be tested against a field that explicitly used ClassicSim (these valuesources require TFIDFSimilarity)
*** tweaked schema11.xml to have a ne fieldType with the needed sim for this new refactored test
** one other small tweak needed to testGeneral to account for new BM25 lenghtNorm behavior



> Make BM25SimFactory the implicit default when no sim is configured for luceneMatch > 6.0
> ----------------------------------------------------------------------------------------
>
>                 Key: SOLR-8270
>                 URL: https://issues.apache.org/jira/browse/SOLR-8270
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: Trunk
>
>         Attachments: SOLR-8270.patch
>
>
> As discussed in parent issue, when the luceneMatchVersion is >= 6.0, IndexSearcher should use BM25SimilarityFactory as the implicit default if no explicit default is configured.



--
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