Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add doc_count field mapper #58339
Add doc_count field mapper #58339
Changes from 42 commits
4b5fab3
cd515b3
655e112
db13d83
191d793
5f81bee
dab8219
ecdc603
520ac9a
676ffc6
7c7139c
d3b9c45
c36ecac
4dca391
912d943
be46a00
c0f23ae
f7b43c1
5e1b96a
80d832b
1e8b472
e24d680
74c727b
cd2c84d
91246eb
77aa346
39c43a0
8ca3fbc
83929cb
848fc77
0a1731d
82f092a
ba92359
cb61366
522c385
df2a2eb
838436f
4a92c80
5d6d037
0ff6fe1
23e4b30
b258653
f5ed1df
2fcdcf6
4138d16
5d38b7f
654847e
7b7ca43
ce44e87
5621c44
1d969a1
cb05034
d7d80f4
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Random thought while reading the restrictions, is it possible to define
_doc_count
as an object? We should forbid that as well if it isn't already... but i suspect the current restrictions prevent it from being an object too.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.
There is an assertion that the input is a
VALUE_NUMBER
in theparseCreateField()
method.elasticsearch/server/src/main/java/org/elasticsearch/index/mapper/DocCountFieldMapper.java
Line 113 in 7b7ca43
Is there anything else that should be added?