ElasticSearch plugin: access to text field

I need to access to text field at ES document. I have used LeafReaderContext and only found
leafContext.reader().getSortedSetDocValues(fieldName)
But it contains a set of all values. Is Any way to access text field value by name?

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