Skip to content

Conversation

@romseygeek
Copy link
Contributor

The vast majority of field types use TextSearchInfo.NONE, and most of the rest
extend TermBasedFieldType. Rather than forcing all field types to include
TextSearchInfo as part of a constructor call, we instead have a default method
on the base class, a constructor parameter for TermBasedFieldType, and method
overrides for the few field types left over.

The vast majority of field types use TextSearchInfo.NONE, and most of the rest
extend TermBasedFieldType.  Rather than forcing all field types to include
TextSearchInfo as part of a constructor call, we instead have a default method
on the base class, a constructor parameter for TermBasedFieldType, and method
overrides for the few field types left over.
@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

@elasticsearchmachine elasticsearchmachine added the serverless-linked Added by automation, don't add manually label Sep 29, 2025
@elastic elastic deleted a comment Sep 29, 2025
@romseygeek romseygeek added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Sep 30, 2025
@elasticsearchmachine elasticsearchmachine merged commit 1eeab39 into elastic:main Sep 30, 2025
34 checks passed
@romseygeek romseygeek deleted the mft/textsearchinfo branch September 30, 2025 11:18
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 serverless-linked Added by automation, don't add manually :StorageEngine/Mapping The storage related side of mappings Team:StorageEngine v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants