How to prioritize exact match using nGram tokenizer? Solved, see solution

Is the nested type necessary here?