elasticsearch/elasticsearch — pull request #5529 by hhoffstaette (2014-03-25 09:42:11+00:00)
Title: Let ByteArray/BigByteArray.get() indicate whether a byte[] was materialized.

Necessary and cleaner instead of letting client code "guess" whether pages are shared or copied.