I am trying to have certain documents be listed first in search results for my company's SharePoint site (not Online). To do this, I am creating a new query rule, removing search conditions, and "change ranked results by changing the query". Then I set a filter on the content type to equal the desired content type (or file extension, that did not work either). The test query results don't return anything if it's a custom content type I made. The query test does seem to work with sorting documents according to last modified time, but when I try it in the site's search bar I get different results (documents from a year or more ago instead of the ones changed yesterday).
I have tried creating these rules at the site collection level as well as the subsite level, nothing seems to change the results. Any idea what is going on here? Could it be some other setting somewhere is blocking these changes from taking effect? Does it just need to reindex? Thanks in advance.