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

Vitaliy Zhovtyuk updated SOLR-5561:
-----------------------------------

    Attachment: SOLR-5561.patch

Added changes to IndexSchema
Added IndexSchema tests checking discountOverlaps depending on 
luceneMatchVersion

> DefaultSimilarity 'init' method is not called, if the similarity plugin is 
> not explicitly declared in the schema
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-5561
>                 URL: https://issues.apache.org/jira/browse/SOLR-5561
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis
>    Affects Versions: 4.6
>            Reporter: Isaac Hebsh
>              Labels: similarity
>             Fix For: 4.7, 4.6.1
>
>         Attachments: SOLR-5561.patch, SOLR-5561.patch, SOLR-5561.patch
>
>
> As a result, discountOverlap is not initialized to true, and the default 
> behavior is that multiple terms on the same position DO affect the fieldNorm. 
> this is not the intended default.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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

Reply via email to