The logic that outputs the search input can be found in the class.template-parts.php Look for the search function. This function handles just the output of the HTML on the page.
The other file you’ll need to edit for actual processing is class.retrieve.php. You’ll need to edit both the entries and search functions.
Hope that gets you on your way.