We are using the latest version of Drupal 7 on the latest version of Apache, PHP 8.0.x, MariaDB, and Windows Server 2022. We are using the built-in search feature.
When we search for most terms, search results are correctly returned. However, when we search for a few terms, a 500 server error is returned.
I have emptied the following tables: search_dataset, search_index, search_node_links, and search_total. Once these tables are emptied, the troublesome search terms no longer return a 500 server error…until the search index has been re-indexed, at which point the exact same search terms display the 500 server error once again. I have noticed that it’s always the exact same search terms that cause the issue; the error is not occurring randomly.
Is there something else I can check to figure out why some search terms are working fine and others are returning a 500 server error?