Remove the default links to the taxonomy terms, and add custom links instead
If the name of the field referencing the taxonomy term is ‘xyz’, create a file field--node--field-xyz.html.twig.
Add the code, as shown below, to change the default path of the taxonomy term ‘/taxonomy/term/tid’, to ‘/yourpath/termName’
Note: The div class names may vary based on the field settings
Based on the keyword entered in the search input box by the user, a site-wide full text search would be performed. The output of the search page would display, all the items matching the search keyword, with an excerpt from the article, highlighting the text matching the keyword.
Download and enable Search API(search_api) for drupal 8, enable Database search (search_api_db)