Depends on your theme, but usually it’s search.php in your theme folder.
Yes, I have 2 sites and I use 2 themes: Donoval and WP-portfolio, but I can’t find the the_title() code
I can’t tell where it is, the exact place depends on the theme. If you have access to theme support, ask there.
I did a search in the themes with BBEdit, but the the_title() code isn’t there
I could not find any reference to a theme called Donoval. If you mean Donovan, it does use the_title(), and it’s in the /template-parts/content-search.php file.
In WP-Portfolio, the code is located in /inc/structure/content-extensions.php.
Good. in Donovan theme /template-parts/content-search.php file line 16 I put <? php relevanssi_the_title (sprintf (...) and I selected ceckbox in WordPress admin setting relevanssi, then I typed an article title, the search found the article but did not highlight the name.
Actually, the correct file is /template-parts/content-excerpt.php and line needs to be
printf( '<h2 class="entry-title"><a href="%s" rel="bookmark">%s</a></h2>', esc_url( get_permalink() ), relevanssi_the_title( false ) );