Statistical facet performance

Will indexing value field of statistical and terms_stats facets as stored improve perf ormance?

--
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.

No

clint

On Wed, Mar 6, 2013 at 5:44 AM, AlexR roytmana@gmail.com wrote:

Will indexing value field of statistical and terms_stats facets as stored
improve perf ormance?

--
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.

--
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.

Thanks Clint!

So when terms_stats facet totals this field it will not try to load source it will use indexed values if it is indexed?

--
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.

Correct, facets will use the field data cache for the values. The values
are cached from the indexed Lucene fields.

If source was used, then the value will need to be analyzed, which would be
more inefficient.

--
Ivan

On Wed, Mar 6, 2013 at 11:29 AM, AlexR roytmana@gmail.com wrote:

Thanks Clint!

So when terms_stats facet totals this field it will not try to load source
it will use indexed values if it is indexed?

--
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.

--
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.

Thanks Ivan, Clint!

On Wed, Mar 6, 2013 at 4:39 PM, Ivan Brusic ivan@brusic.com wrote:

Correct, facets will use the field data cache for the values. The values
are cached from the indexed Lucene fields.

If source was used, then the value will need to be analyzed, which would
be more inefficient.

--
Ivan

On Wed, Mar 6, 2013 at 11:29 AM, AlexR roytmana@gmail.com wrote:

Thanks Clint!

So when terms_stats facet totals this field it will not try to load
source it will use indexed values if it is indexed?

--

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.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/J-le4rWKs4Q/unsubscribe?hl=en-US
.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.