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

Reduce memory pressure when sending large terms queries. #21776

Merged
merged 2 commits into from Nov 30, 2016

Commits on Nov 29, 2016

  1. Reduce memory pressure when sending large terms queries to Elasticsea…

    …rch.
    
    When users send large `terms` query to Elasticsearch, every value is stored in
    an object. This change does not reduce the amount of created objects, but makes
    sure these objects die young by optimizing the list storage in case all values
    are either non-null instances of Long objects or BytesRef objects, which seems
    to help the JVM significantly.
    jpountz committed Nov 29, 2016
    Copy the full SHA
    985ec64 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2016

  1. iter

    jpountz committed Nov 30, 2016
    Copy the full SHA
    a7c69d3 View commit details
    Browse the repository at this point in the history