You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even with a single exclude term, a terms aggregation can be very slow to execute on fields with high cardinality.
The culprit is the IncludeExclude.OrdinalsFilter.acceptedGlobalOrdinals method which loops over a globalTermsEnum to produce a set of accepted global ordinals. This can take several seconds and is a cost paid for every query.
The issue #11176 is related to the same use case but is a different problem, relating to the scalability of the exclude list provided.
The text was updated successfully, but these errors were encountered:
Even with a single
exclude
term, aterms
aggregation can be very slow to execute on fields with high cardinality.The culprit is the IncludeExclude.OrdinalsFilter.acceptedGlobalOrdinals method which loops over a globalTermsEnum to produce a set of accepted global ordinals. This can take several seconds and is a cost paid for every query.
The issue #11176 is related to the same use case but is a different problem, relating to the scalability of the exclude list provided.
The text was updated successfully, but these errors were encountered: