Skip to content

Conversation

@romseygeek
Copy link
Contributor

@romseygeek romseygeek commented Nov 24, 2025

This applies to boolean, date, ip, keyword and number-type fields. It can
be disabled by setting the index.mapping.use_doc_value_skipper field to false

This applies to boolean, date, ip, keyword and number-type fields
excluding scaled_float.  It can be disabled by setting the
`index.mapping.use_doc_value_skipper` field to `false`
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

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

LGTM


@Override
protected boolean supportsDocValuesSkippers() {
return false;
Copy link
Member

Choose a reason for hiding this comment

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

Out of curiosity, why are skippers disabled for scaled_float when index=false and doc_values=true? Shouldn't this be similar to half_float?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think I just forgot to add them to scaled_float :). I will do that separately.

@romseygeek
Copy link
Contributor Author

This causes a failure in DataStreamTimestampFieldMapperTests#testValidatedNotIndexed, because we no longer fail validation if the timestamp field has index=false. I think that's probably OK, and I can just remove the test?

@romseygeek romseygeek added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) >non-issue :StorageEngine/Mapping The storage related side of mappings Team:StorageEngine v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants