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

Have a look at this gist. It demos it: