I've used that it said doc_values is not supported in text fields in the document of fielddata:
Most fields can use index-time, on-disk
doc_valuesfor this data access pattern, buttextfields do not supportdoc_values.
However there is no metion about the doc_values in chapter of text and doc_value itself.
What's more, I've tested to use doc_value option in text field in version 7.1 as well, but there is no any exception or warning text emitted. Is this a bug or the description in fielddata is wrong?