You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Joel Nothman (JIRA)" <ji...@apache.org> on 2012/11/07 13:43:13 UTC

[jira] [Comment Edited] (SOLR-3931) Turn off coord() factor for scoring

    [ https://issues.apache.org/jira/browse/SOLR-3931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492300#comment-13492300 ] 

Joel Nothman edited comment on SOLR-3931 at 11/7/12 12:41 PM:
--------------------------------------------------------------

Version 4.0.0 allows the specification of a custom similarity factory for each field in schema.xml (see SOLR-2338; it seems documentation is a bit lacking). So these options are not per-query, but per-core.

It would be possible to copy or patch Lucene's {{DefaultSimilarity}} and Solr's {{DefaultSimilarityFactory}} to take {{useCoord}} and {{useQueryNorm}} parameters.
                
      was (Author: jnothman):
    Version 4.0.0 allows the specification of a custom similarity factory for each field in schema.xml (see SOLR-2338; it seems documentation is a bit lacking). So these options are not per-query, but per-core.

It would be possible to copy or patch Lucene's {{DefaultSimilarity}} and Solr's {{DefaultSimilarityFactory}} to take `useCoord` and `useQueryNorm` parameters.
                  
> Turn off coord() factor for scoring
> -----------------------------------
>
>                 Key: SOLR-3931
>                 URL: https://issues.apache.org/jira/browse/SOLR-3931
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Bill Bell
>
> We would like to remove coordination factor from scoring.
> FOr small fields (like name of doctor), we want to not score higher if the same term is in the field more than once. Makes sense for books, not so much for formal names.
> /solr/select?q=*:*&coordFactor=false
> Default is true.
> (Note: we might want to make each of these optional - tf, idf, coord, queryNorm
> coord(q,d) is a score factor based on how many of the query terms are found in the specified document. Typically, a document that contains more of the query's terms will receive a higher score than another document with fewer query terms. This is a search time factor computed in coord(q,d) by the Similarity in effect at search time. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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