Hello Claude,
Wrap it by BoostQuery. see https://lucene.apache.org/core/6_0_0/MIGRATE.html


On Sat, Nov 25, 2023 at 2:46 PM Claude Lepère <claudelep...@gmail.com>
wrote:

> Hi.
>
> We are using Lucene 5.5.5 where setBoost is deprecated for all Query types.
> How to set the boost of a NumericRangeQuery while preserving the
> NumericRangeQuery type?
> BoostQuery doesn't allow this and I haven't found a way.
>
> Thanks for your help.
>
> Claude Lepère
>


-- 
Sincerely yours
Mikhail Khludnev

Reply via email to