Search Sorting/Hiding Shopify

Good morning,
I recently installed Algolia in my shopify store, it has worked very well so far.
I need to implement two features in my search:

  1. Filter my results by product type, for example, if a customer searches for a certain word or brand, a certain type of produt should be displayed first than other types. For example, the Bags will be displayed first, then watches, then wallets, etc., according to the searched word. Is there a way to sort the search by product type?

  2. I need to hide some products in the search, it would be nice to define these products with a specific Tag or even a section where they can be added manually and not returned in any kind of search done.

If anyone has solutions for these issues, I will be very grateful.