You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/03/16 05:53:04 UTC

[jira] [Updated] (SOLR-5198) Make default similarty configurable

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

David Smiley updated SOLR-5198:
-------------------------------

    Fix Version/s:     (was: 4.7)
                   4.8

> Make default similarty configurable
> -----------------------------------
>
>                 Key: SOLR-5198
>                 URL: https://issues.apache.org/jira/browse/SOLR-5198
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>    Affects Versions: 4.4
>            Reporter: HeXin
>            Priority: Minor
>             Fix For: 4.8
>
>
>   Though the code has supported for customizing scoring on a per-field basis in using <similarity/> in a schema's fieldType and 
> we can configure our custom similarity factory in schema,  we can't configure the default similarty and it is hardcode in SchemaSimilarityFactory. 
>   If we want to use another similarity as default similarty instead of DefaultSimilarity provided by lucene, we must to write another similarity factory to do this. Therefore, it is necessary to make default similarty configurable. 
>   Any comments is welcomed. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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