Improved performance with full text search

This commit is contained in:
Michael
2024-01-10 21:17:21 +00:00
parent b48467c3f8
commit dfce85a09f
3 changed files with 16 additions and 13 deletions

View File

@@ -1787,7 +1787,7 @@ class Processor
$searchtext = Engagement::getSearchTextForActivity($content, $authorid, $messageTags, $receivers);
$languages = Item::getLanguageArray($content, 1, 0, $authorid);
$language = !empty($languages) ? array_key_first($languages) : '';
return DI::userDefinedChannel()->match($searchtext, $language, $messageTags, 0);
return DI::userDefinedChannel()->match($searchtext, $language);
}
/**