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

Remove non-default fielddata formats. #11669

Merged
merged 1 commit into from Jun 15, 2015

Conversation

jpountz
Copy link
Contributor

@jpountz jpountz commented Jun 15, 2015

Now that doc values are the default for fielddata, specialized in-memory
formats are becoming an esoteric option. This commit removes such formats:

  • fst on string fields,
  • compressed on geo points.

I also removed documentation and tests that the fielddata cache is shared if
you change the format, since this is only true for in-memory fielddata formats
(given that for doc values, the caching is done directly in Lucene).

In terms of backward compatibility, IndexFielddataService already falls back to
the default fielddata format in case the configured fielddata format can't be found,
and logs a warning.

Now that doc values are the default for fielddata, specialized in-memory
formats are becoming an esoteric option. This commit removes such formats:
 - `fst` on string fields,
 - `compressed` on geo points.

I also removed documentation and tests that the fielddata cache is shared if
you change the format, since this is only true for in-memory fielddata formats
(given that for doc values, the caching is done directly in Lucene).
@martijnvg
Copy link
Member

nice cleanup, LGTM!

jpountz added a commit that referenced this pull request Jun 15, 2015
@jpountz jpountz merged commit e817393 into elastic:master Jun 15, 2015
@kevinkluge kevinkluge removed the review label Jun 15, 2015
@s1monw s1monw deleted the remove/esoteric_fielddata_formats branch June 22, 2015 11:37
wmfgerrit pushed a commit to wikimedia/mediawiki-extensions-GeoData that referenced this pull request Jul 6, 2016
c.f. elastic/elasticsearch#11669

Change-Id: I058d5bad2d9deeff07e1d08cbd00dbe3d6e8576d
@clintongormley clintongormley added :Search/Search Search-related issues that do not fall into other categories and removed :Fielddata labels Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>deprecation :Search/Search Search-related issues that do not fall into other categories v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants