Long string breaks dgraph

So initially the field was indexed with term, exact and regexp. After some testing i found out that a single term index or a single exact index are also troublesome (and the combination of both of course).

The following indexes lead to hang ups when inserting too long strings:

  • field: String! @search([term, exact, regexp])
  • field: String! @search([term, exact])
  • field: String! @search([term])
  • field: String! @search([exact])