[
https://issues.apache.org/jira/browse/LUCENE-8016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand updated LUCENE-8016:
---------------------------------
Description:
We allow any boosts to be passed down to similarities, eg. via {{BoostQuery}}.
This is a bit trappy since it means that you can make scores rounded down to 0
and/or slow to compute (because of subnormal floats) by using tiny boosts, or
infinite scores if you pass boosts that are too close to the float max value.
I would like to restrict boosts to be either +0 or between 2 ^-10^ and 2 ^10^ .
Any objections?
was:
We allow any boosts to be passed down to similarities, eg. via {{BoostQuery}}.
This is a bit trappy since it means that you can make scores rounded down to 0
and/or slow to compute (because of subnormal floats) by using tiny boosts, or
infinite scores if you pass boosts that are too close to the float max value.
I would like to restrict boosts to be either +0 or between 2^-10^ and 2^10^.
Any objections?
> Bound values of boosts
> ----------------------
>
> Key: LUCENE-8016
> URL: https://issues.apache.org/jira/browse/LUCENE-8016
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Adrien Grand
> Priority: Minor
> Fix For: master (8.0)
>
>
> We allow any boosts to be passed down to similarities, eg. via
> {{BoostQuery}}. This is a bit trappy since it means that you can make scores
> rounded down to 0 and/or slow to compute (because of subnormal floats) by
> using tiny boosts, or infinite scores if you pass boosts that are too close
> to the float max value.
> I would like to restrict boosts to be either +0 or between 2 ^-10^ and 2 ^10^
> .
> Any objections?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]