Long string breaks dgraph

UPDATE

Turns out using the hash index instead of the exact index solved the problem in my case as I just needed equals filters to be working.