[BREANKING ngrams] this should fix #471 multi-ngrams terms indexing

However, tests don't pass and I'm not sure if other functionality
doesn't break.
parent bd92fece
Pipeline #7646 failed with stages
in 40 minutes and 5 seconds