Overhead of _source field in searches


(ElasticSearch Users mailing list) #1

Hi,

Will having _source enabled for my documents put any kind of performance
overhead or increase latency or memory consumption for searches that do not
necessarily return the _source field. I am not interested in the _source
field for returning during search, but the only purpose for _source field
for me is to update the document at a later point in time. If there is no
overhead in maintaining the extra data due to the _source field, either
during indexing or searching, I will be okay to use it. However, I am not
sure whether having _source enabled will put a memory/IO strain during
searching even though I do not return _source as an output field.

Thanks,
Sandeep

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e7649b9b-dca0-4af3-8f66-5e6f718dc9fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Nik Everett) #2

_source is not loaded unless it is needed. So the overhead should be very
low.
On Sep 9, 2014 1:16 AM, "'Sandeep Ramesh Khanzode' via elasticsearch" <
elasticsearch@googlegroups.com> wrote:

Hi,

Will having _source enabled for my documents put any kind of performance
overhead or increase latency or memory consumption for searches that do not
necessarily return the _source field. I am not interested in the _source
field for returning during search, but the only purpose for _source field
for me is to update the document at a later point in time. If there is no
overhead in maintaining the extra data due to the _source field, either
during indexing or searching, I will be okay to use it. However, I am not
sure whether having _source enabled will put a memory/IO strain during
searching even though I do not return _source as an output field.

Thanks,
Sandeep

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/e7649b9b-dca0-4af3-8f66-5e6f718dc9fc%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/e7649b9b-dca0-4af3-8f66-5e6f718dc9fc%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPmjWd23pVfW-PVBhE_Ovy_CmvcpcuWGirxwgqmYbMn0rYD-wA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3