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

Make field data changes immediately taken into account and add the ability to disallow field data loading. #4432

Closed
wants to merge 4 commits into from

Commits on Dec 12, 2013

  1. Make field data changes immediately taken into account and add the ab…

    …ility to disallow field data loading.
    
    This commit changes field data configuration updates so that they are
    immediately taken into account for loading new segments. The way it works
    is that field data configuration is now cached separately from the field
    data cache, meaning that it is now possible to clear the field data
    configuration from IndexFieldDataService while the cache will stay around. On
    the next time that Elasticsearch will reload field data configuration, it will
    check if there is already a cache entry, and reuse it if it exists.
    
    To disable field data loading, all that is required is to change the field
    data format to "none" (supported by all field data types) using the update
    mapping API. Elasticsearch will then refuse to load field data on any new
    segment, but field data which has been loaded on the previous segments will
    remain available. So you need to clear the field data cache in order to
    reclaim memory (otherwise memory will be reclaimed slower, as segments get
    merged).
    
    Close elastic#4430
    Close elastic#4431
    jpountz committed Dec 12, 2013
    Configuration menu
    Copy the full SHA
    17f8bc5 View commit details
    Browse the repository at this point in the history
  2. Documentation

    jpountz committed Dec 12, 2013
    Configuration menu
    Copy the full SHA
    99746ed View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2013

  1. Review round 1.

    jpountz committed Dec 13, 2013
    Configuration menu
    Copy the full SHA
    53a13cd View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2013

  1. Configuration menu
    Copy the full SHA
    994712b View commit details
    Browse the repository at this point in the history