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

Add index.data_path setting #9033

Merged
merged 1 commit into from Dec 29, 2014
Merged

Commits on Dec 29, 2014

  1. Add index.data_path setting

    This allows specifying the path an index will be at.
    
    `index.data_path` is specified in the settings when creating an index,
    and can not be dynamically changed.
    
    An example request would look like:
    
    POST /myindex
    {
      "settings": {
        "number_of_shards": 2,
        "data_path": "/tmp/myindex"
      }
    }
    
    And would put data in /tmp/myindex/0/index/0 and /tmp/myindex/0/index/1
    
    Since this can be used to write data to arbitrary locations on disk, it
    requires enabling the `node.enable_custom_paths` setting in
    elasticsearch.yml on all nodes.
    
    Relates to elastic#8976
    dakrone committed Dec 29, 2014
    Copy the full SHA
    a4e2230 View commit details
    Browse the repository at this point in the history