Hey team,
Do you know if it is possible to filter out characters from a search query. For example a client of mine wants the query to filter out the “<>” characters and return results for a query of “resources”, however in this case they are seeing blank results.
Thanks!
Hey Daniel,
Could you provide a bit more context about the specific use case and example here? If there is one particular popular query that involves those special characters, I think the best solution would be to blacklist that particular query from the autocomplete suggestions.
Best,
DJ
Yeah the request is coming from a client that is doing a broad QA before going live. There isn’t a specific query that they would like to fix, but rather they want the experience to always filter out special characters like ‘<’ and ‘>’ so that queries like or still return relevant answers.
Understood! Using the default Answers HH Theme for the frontend, I don’t believe there is a way to filter queries as they come in before triggering an API call for results.
That being said, if specific use cases come up down the road, let us know and we’d be happy to help brainstorm solutions.
Best,
DJ