Skip to content

Remove the ability to have custom per-field postings and doc values formats.#9741

Merged
jpountz merged 1 commit intoelastic:masterfrom
jpountz:fix/remove_format_services
Feb 19, 2015
Merged

Remove the ability to have custom per-field postings and doc values formats.#9741
jpountz merged 1 commit intoelastic:masterfrom
jpountz:fix/remove_format_services

Conversation

@jpountz
Copy link
Copy Markdown
Contributor

@jpountz jpountz commented Feb 18, 2015

This commit makes the postings_format and doc_values_format options of
mappings illegal on 2.0 and ignored on 1.x (meaning that the default postings
and doc values formats from the codec will be used in such a case).

This removes a fair amount of code.

Close #8746

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch with the sync here!

@s1monw
Copy link
Copy Markdown
Contributor

s1monw commented Feb 18, 2015

LGTM

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Say "no longer possible" instead of "not possible"? You might also be more explicit about what "old indices" means. Also, typo: tail -> fail

@rjernst
Copy link
Copy Markdown
Member

rjernst commented Feb 18, 2015

LGTM too! Just a couple minor doc comments.

@rjernst
Copy link
Copy Markdown
Member

rjernst commented Feb 18, 2015

Also, can you regenerate one of the static bwc indexes with your changes to create-bwc-index.py? For now one should be fine (say 1.4.2 or 1.4.3). Eventually I hope to have a script that will regenerate all of them without so much manual labor.

@jpountz
Copy link
Copy Markdown
Contributor Author

jpountz commented Feb 19, 2015

Pushed a new commit that addresses @rjernst 's comments. Will push soon.

…values formats.

This commit makes the `postings_format` and `doc_values_format` options of
mappings illegal on 2.0 and ignored on 1.x (meaning that the default postings
and doc values formats from the codec will be used in such a case).

This removes a fair amount of code.

Close elastic#8746 elastic#9741
@jpountz jpountz force-pushed the fix/remove_format_services branch from 3316c23 to 4708227 Compare February 19, 2015 14:47
@jpountz jpountz merged commit 4708227 into elastic:master Feb 19, 2015
dadoonet added a commit to elastic/elasticsearch-mapper-attachments that referenced this pull request Feb 19, 2015
@clintongormley clintongormley changed the title Codecs: Remove the ability to have custom per-field postings and doc values formats. Remove the ability to have custom per-field postings and doc values formats. Jun 6, 2015
@clintongormley clintongormley added the :Search Foundations/Mapping Index mappings, including merging and defining field types label Jun 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>breaking :Search Foundations/Mapping Index mappings, including merging and defining field types v2.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove custom posting formats

4 participants