Hello everyone
I'd like to know, when does excluding fields from source take place? (When
the document is being written or each time it is read?)
Also, does excluding have a big impact on performance?
Would that be better to group all excluded fields in one path and use a
wildcard ("path.*") instead of having multiple excluded fields all around
the document?
Thanks in advance
Paweł Młynarczyk
--
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.
Hi Pawel,
The exclude and include settings of the _source mapping are applied just
before the document is stored in the index. It is a very light weight
operation. Performance wise it doesn't really matter if you wild cards or
not. I would just whatever feels more tidy to you.
Cheers,
Boaz
On Thursday, May 16, 2013 10:20:07 AM UTC+2, Paweł Młynarczyk wrote:
Hello everyone
I'd like to know, when does excluding fields from source take place? (When
the document is being written or each time it is read?)
Also, does excluding have a big impact on performance?
Would that be better to group all excluded fields in one path and use a
wildcard ("path.*") instead of having multiple excluded fields all around
the document?
Thanks in advance
Paweł Młynarczyk
--
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.