In PHP version 8.1 and newer, non-integer item boosts (as could be set, for instance, using the “Number field-based boosting” processor) will trigger a deprecation warning with the database backend. This can be easily reproduced by running NumberFieldBoostTest.

Comments

drunken monkey created an issue. See original summary.

drunken monkey’s picture

Status: Active » Needs review
StatusFileSize
new1.35 KB

This should fix it. I think this method is internal enough not to worry about backwards compatibility, so the fix is very simple.

  • drunken monkey committed 5ad0d481 on 8.x-1.x
    Issue #3363208 by drunken monkey: Fixed implicit conversion from float...
drunken monkey’s picture

Title: Fixed implicit conversion from float to int in database backend » Fix implicit conversion from float to int in database backend
Status: Needs review » Fixed

Merged.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.