How to properly specify doc_values?


(Pe Ter) #1

Seems there's two alternate ways to specify that a field should use docvalues:

"doc_values": True

and

"fielddata": {"format": "doc_values"}

What's the difference?


(Mark Walkom) #2

The docs suggest the first one.

Are you getting the second one from this blog post?


(system) #3