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

Adrien Grand updated SOLR-9315:
-------------------------------
    Attachment: SOLR-9315.patch

Here is a proposed change that delegates coord and queryNorm to the default 
similarity. It is still not perfect since you would still have the issue eg. if 
the base similarity does not normalize (eg. BM25) and a per-field similarity 
uses query normalization (ClassicSimilarity), but it should work better in most 
cases? I have not tested the patch.

> SchemaSimilarityFactory should delegate queryNorm and coord to the default 
> similarity
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-9315
>                 URL: https://issues.apache.org/jira/browse/SOLR-9315
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Adrien Grand
>            Priority: Minor
>         Attachments: SOLR-9315.patch
>
>
> This is a follow-up to the discussion with [~upayavira] on LUCENE-6590: 
> SchemaSimilarityFactory can easily build similarities that apply the idf 
> twice.



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