This will depend on how the mapping of the field is setup. If you don't want the value to be tokenized, set the field type to keyword. However, doc['Language'] will always return a List. You can either just access the first value using [0], or use .value.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.