We are working on a search engine (non- Ecommerce). After changing or editing the search query, should the filters stay selected (assuming the user have the same criteria) or should it be cleared (assuming this is a new search query with different criteria)?
In principle, I wouldn’t change or modify user action without their consent.
Modifying search filters through a reset, adding or removing filters should be left to users rather than the system inline with heuristics (User Control and freedom)
Worth noting that filter reset functionality is typically introduced when there is far too many filters to unselect individually.
It can be difficult to remember which filters have been applied. Having to go through each filter, and find all applied filters is time consuming. The more mental energy your website demands, the quicker your users are going to become tired or bored.
Filter Reset allows users to be more efficient by clearing all selected filters with a single action.
Also, a change in query doesn’t really mean the intent of the user has changed. What it means is that the user has reformulated their query. The user intent might still be the same, in which case you might be doing them a disservice rather than helping them by resetting the filters.
So, overall, handing control to users is the best option.
Hope that helps
It totally depends upon the context of using filters. In typical e-commerce products the filter resembles user's preference (size, type, colour, etc to name few).
You might need to ask this question to yourself: is there any value addition for users if the filters are applied? If yes then how many such use cases are covered? If not then you have your decision!