What are you looking to measure? The indexes don't really have a per
document size because they, well, are indexes. The documents do taken up
some space on disk but they are compressed.
On Dec 10, 2014 6:02 AM, "Jojo Juju" tv.in.concur@gmail.com wrote:
Hi,
I'm fairly new to ES and I wonder if there is a way to query size (in
bytes) of a single document, not average.
Compressed size of a document on disk would be enough. We use store level
compression not the per document.
Would this be then actually possible?
Thanks
On Wednesday, December 10, 2014 1:27:49 PM UTC+1, Nikolas Everett wrote:
What are you looking to measure? The indexes don't really have a per
document size because they, well, are indexes. The documents do taken up
some space on disk but they are compressed.
On Dec 10, 2014 6:02 AM, "Jojo Juju" <tv.in....@gmail.com <javascript:>>
wrote:
Hi,
I'm fairly new to ES and I wonder if there is a way to query size (in
bytes) of a single document, not average.
In that case you can just count the bytes in the _source field. As I said
before just adding those up won't give you all the space taken up by the
whole shard but it'll give you some idea of how much space Lucene uses.
Compressed size of a document on disk would be enough. We use store level
compression not the per document.
Would this be then actually possible?
Thanks
On Wednesday, December 10, 2014 1:27:49 PM UTC+1, Nikolas Everett wrote:
What are you looking to measure? The indexes don't really have a per
document size because they, well, are indexes. The documents do taken up
some space on disk but they are compressed.
On Dec 10, 2014 6:02 AM, "Jojo Juju" tv.in....@gmail.com wrote:
Hi,
I'm fairly new to ES and I wonder if there is a way to query size (in
bytes) of a single document, not average.
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.