diff --git a/update.php b/update.php index 5e31c805b..4fd517701 100755 --- a/update.php +++ b/update.php @@ -317,7 +317,7 @@ while (true) { foreach ($entries as $entry) { - $tsvector_combined = mb_substr(strip_tags($entry->title . " " . $entry->content), 0, 1000000); + $tsvector_combined = mb_substr(strip_tags($entry->title) . " " . \Soundasleep\Html2Text::convert($entry->content), 0, 900000); $usth->execute([$tsvector_combined, $entry->id]); $processed++; }