Is there a way to limit the field to a certain number of characters when receiving results from Elasticsearch? I know how to limit my results to a specific set of fields, but I donβt see how to get only a part of the data. I would like to get only the first 100 characters to display data preview and I / O limits.
I saw that the highlighting makes it possible to set the size of the fragment, but I do not necessarily request anything from the field, I want a substring.
source share