you cannot exactly say that "doc values" are a cache. Doc values are a data structure that is optimized for an access pattern "document" -> "list of terms" which is needed for e.g. sorting and aggregations. The implementation of doc values relies on the operating systems "page cache" which maps pages from disk to memory as needed. Also field data is a data structure.
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.