Length text exceeded : Problem in ingesting

Using Es 6.2.2 ,I'm trying to ingest a pdf in elasticsearch and filter its field with openNlp, However i got this response in kibana dev tools :

{
  "statusCode": 504,
  "error": "Gateway Time-out",
  "message": "Client request timeout"
}

and elasticSearch return :

[WARN ][d.o.a.l.s.u.CustomUnifiedHighlighter] The length of text to be analyzed for highlighting 
[924528] exceeded the allowed maximum of [10000] set for the next major Elastic version. For large 
texts, indexing with offsets or term vectors is recommended!

so what's wrong ?
what's indexing with offsets or term vectors ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.