lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Nothman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3931) Turn off coord() factor for scoring
Date Wed, 07 Nov 2012 12:41:17 GMT

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

Joel Nothman commented on SOLR-3931:
------------------------------------

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


Mime
View raw message