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

Rename caches. #11893

Merged
merged 1 commit into from Jun 29, 2015
Merged

Rename caches. #11893

merged 1 commit into from Jun 29, 2015

Conversation

jpountz
Copy link
Contributor

@jpountz jpountz commented Jun 26, 2015

In order to be more consistent with what they do, the query cache has been
renamed to request cache and the filter cache has been renamed to query
cache.

A known issue is that package/logger names do no longer match settings names,
please speak up if you think this is an issue.

Here are the settings for which I kept backward compatibility. Note that they
are a bit different from what was discussed on #11569 but putting cache before
the name of what is cached has the benefit of making these settings consistent
with the fielddata cache whose size is configured by
indices.fielddata.cache.size:

  • index.cache.query.enable -> index.requests.cache.enable
  • indices.cache.query.size -> indices.requests.cache.size
  • indices.cache.filter.size -> indices.queries.cache.size

Close #11569

@kimchy
Copy link
Member

kimchy commented Jun 26, 2015

this is so awesome @jpountz, thank you for doing this, its big for our ability to explain how 2.0 works now. LGTM.

In order to be more consistent with what they do, the query cache has been
renamed to request cache and the filter cache has been renamed to query
cache.

A known issue is that package/logger names do no longer match settings names,
please speak up if you think this is an issue.

Here are the settings for which I kept backward compatibility. Note that they
are a bit different from what was discussed on elastic#11569 but putting `cache` before
the name of what is cached has the benefit of making these settings consistent
with the fielddata cache whose size is configured by
`indices.fielddata.cache.size`:
 * index.cache.query.enable -> index.requests.cache.enable
 * indices.cache.query.size -> indices.requests.cache.size
 * indices.cache.filter.size -> indices.queries.cache.size

Close elastic#11569
jpountz added a commit that referenced this pull request Jun 29, 2015
@jpountz jpountz merged commit d2f8693 into elastic:master Jun 29, 2015
@jpountz jpountz deleted the fix/rename_cache branch June 29, 2015 08:21
jpountz added a commit that referenced this pull request Jun 29, 2015
szroland pushed a commit to szroland/elasticsearch that referenced this pull request Jun 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants