Integer size vs Long size

Have you disabled _source and _all for your test?

Note, Lucene is an inverted index, it is not behaving like a bag of
documents of primitive data types. In spite there are field types like
LongField, IntField, DoubleField, FloatField for numerics, this does not
determine the overall size of the index files. To simplify, imagine a
list of pointers pointing to longs, and a list of pointers pointing to
ints. These posting list elements uses the same memory size, no matter
what kind of fields you have in a document.

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.