-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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 the ability to have custom per-field postings and doc values formats. #9741
Conversation
@Override | ||
public PostingsFormatProvider postingsFormatProvider() { | ||
return this.completionPostingsFormatProvider; | ||
public synchronized PostingsFormat postingsFormat(PostingsFormat in) { |
There was a problem hiding this comment.
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!
LGTM |
@@ -237,3 +237,15 @@ curl -XGET 'localhost:9200/index/type/_search' | |||
} | |||
--------------- | |||
|
|||
=== Codecs | |||
|
|||
It is not possible to specify per-field postings and doc values formats in the |
There was a problem hiding this comment.
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
LGTM too! Just a couple minor doc comments. |
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. |
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
3316c23
to
4708227
Compare
This commit makes the
postings_format
anddoc_values_format
options ofmappings 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