I'm sorry, I haven't used Discord. From reading the post, I got the impression that you allow queries like:
from:jhgg "Fallout 4" -Witcher
Is that so? If so, you created a parser for this format yourselves and are converting that to ElasticSearch's Query DSL?