Filtered indices aliases and filters size


(Yann Barraud) #1

Hi,

Is there a known limit on terms filters size, or somehow a performance
issue on specifying tens or a few hundreds of terms within a terms filter
while defining a filtered alias on an index.

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-terms-filter.html
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-aliases.html#filtered

Regards,
Yann

--
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/8676a008-3279-4a60-9f8d-6b64eba38ff6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Adrien Grand) #2

Hi Yann,

There is no limit that I know of. An issue that may happen with large terms
filters is caching: the filter itself is used as a key of the cache and
comparing large terms filters can be costly. For those large terms filters,
it is advised to configure a _cache_key[1].

[1]
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-filters.html

On Thu, Jan 23, 2014 at 4:50 PM, Yann Barraud yann.barraud@gmail.comwrote:

Hi,

Is there a known limit on terms filters size, or somehow a performance
issue on specifying tens or a few hundreds of terms within a terms filter
while defining a filtered alias on an index.

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-terms-filter.html

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-aliases.html#filtered

Regards,
Yann

--
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/8676a008-3279-4a60-9f8d-6b64eba38ff6%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--
Adrien Grand

--
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/CAL6Z4j5%3DtdV83X0-0dgQs-PRhR-zXNL3QruMLPnGUNKWX%2B6AKA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Yann Barraud) #3

Hi Adrien,

Thanks for answering. I think you saved my project :slight_smile:

Cheers,
Yann
Le 23 janv. 2014 21:38, "Adrien Grand" adrien.grand@elasticsearch.com a
écrit :

Hi Yann,

There is no limit that I know of. An issue that may happen with large
terms filters is caching: the filter itself is used as a key of the cache
and comparing large terms filters can be costly. For those large terms
filters, it is advised to configure a _cache_key[1].

[1]
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-filters.html

On Thu, Jan 23, 2014 at 4:50 PM, Yann Barraud yann.barraud@gmail.comwrote:

Hi,

Is there a known limit on terms filters size, or somehow a performance
issue on specifying tens or a few hundreds of terms within a terms filter
while defining a filtered alias on an index.

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-terms-filter.html

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-aliases.html#filtered

Regards,
Yann

--
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/8676a008-3279-4a60-9f8d-6b64eba38ff6%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--
Adrien Grand

--
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/e5R5oG_BZCE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j5%3DtdV83X0-0dgQs-PRhR-zXNL3QruMLPnGUNKWX%2B6AKA%40mail.gmail.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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CA%2BhvuXcVcwPxTu%3D08pK3s50RYDw8JnitREYFGqDFC80HumEhsw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4