There are no particular settings to set when using doc values, just make
sure to not give too much memory to your JVM so that the operator system's
filesystem cache has enough memory to do its job. If your previous setup
didn't leverage doc values, it is likely that switching to doc values will
significantly reduce memory requirements, so you could consider decreasing
your ES_HEAP_SIZE. In addition to giving more memory to the filesystem
cache, this will also reduce garbage collection times.
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.