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

Field Data: Add node level cache type #2722

Closed
kimchy opened this issue Mar 3, 2013 · 0 comments
Closed

Field Data: Add node level cache type #2722

kimchy opened this issue Mar 3, 2013 · 0 comments

Comments

@kimchy
Copy link
Member

kimchy commented Mar 3, 2013

Allow to configure field data to use node level cache, which can then be bounded based on size and/or expiration.

In order to configure field data to use node level cache across all indices, simply put index.fielddata.cache to node in the configuration.

Node level configuration allows to set:

  • indices.fielddata.cache.size: the size in bytes or percentage of heap. Defaults to 40%.
  • indices.fielddata.cache.expire: expiration, defaults to not set.

Note, even though size based eviction sounds attractive, the effort of loading field data is very expensive, so its better to have enough nodes in the cluster to work with the default resident field data cache type.

Last, the default is still resident.

@kimchy kimchy closed this as completed in a7da27c Mar 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant