--- src/Plugin/search_api/backend/Database.php	2023-05-17 15:58:54
+++ src/Plugin/search_api/backend/Database.php	2023-05-17 15:28:18
@@ -1381,7 +1381,7 @@
               $score = round($score);
               // Take care that the score doesn't exceed the maximum value for
               // the database column (2^32-1).
-              $score = min((int) $score, 4294967295);
+              $score = max(min((int) $score, 4294967295), 0);
               $text_inserts[] = [
                 'item_id' => $item_id,
                 'field_name' => $field_name,
