Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjacency_matrix aggregation memory usage optimisation. #46257

Merged
merged 1 commit into from
Sep 4, 2019

Commits on Sep 4, 2019

  1. Adjacency_matrix aggregation optimisation.

    Avoid pre-allocating ((N * N) - N) / 2 “BitsIntersector” objects given N filters.
    Most adjacency matrices will be sparse and we typically don’t need to allocate all of these objects - can save a lot of allocations when the number of filters is high.
    As a consequence we could consider increasing the default for the `index.max_adjacency_matrix_filters`  setting?
    
    Closes elastic#46212
    markharwood committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    f16d043 View commit details
    Browse the repository at this point in the history