Ngram analyser max length based on token length


#1

Hi All,
Is there anyway to pass minimum and maximum to ngram analyser lengths depending on token length?
i e.ngram 1 and length(token)

This will ensure all the required token combinations are indexed.
Please clarify
Thanks
Isuru