DocValues in ElasticSearch

Hello ElasticSearch experts,

Wondering how DocValues implemented behind the scene which leveraging out of heap memory? Is it using Java nio ByteBuffer?

Any internal implementation documents or code are appreciated.

thanks in advance,
Lin

Hi,

DocValues is a Lucene-level functionality. Here's the source:

http://search-lucene.com/?q=lucene+DocValues&fc_type=source+code

Otis

Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Elasticsearch Consulting & Support * http://sematext.com/

1 Like

Thanks @otisg, I heard DocValue is leveraging memory out of JVM, is it implemented using java.nio.ByteBuffer? I read through the code and not found any details and your guidance is appreciated.

regards,
Lin