Skip to content

Rename SemanticTextIndexOptions to SemanticIndexOptions#152942

Merged
kkharbas merged 3 commits into
elastic:mainfrom
kkharbas:rename-semantic-text-index-options
Jul 7, 2026
Merged

Rename SemanticTextIndexOptions to SemanticIndexOptions#152942
kkharbas merged 3 commits into
elastic:mainfrom
kkharbas:rename-semantic-text-index-options

Conversation

@kkharbas

@kkharbas kkharbas commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • SemanticTextIndexOptions is shared by both SemanticFieldMapper (the semantic field type) and SemanticTextFieldMapper (the semantic_text field type), so scoping the name to semantic_text alone is misleading.
  • Renames the class to SemanticIndexOptions and updates all usages and comments accordingly.
  • No behavior change.

kkharbas added 2 commits July 5, 2026 23:52
The class is shared by both semantic and semantic_text field
mappers, so its name should not be scoped to semantic_text alone.
@elasticsearchmachine elasticsearchmachine added v9.5.0 needs:triage Requires assignment of a team area label labels Jul 6, 2026
@kkharbas kkharbas closed this Jul 6, 2026
@kkharbas kkharbas reopened this Jul 6, 2026
@davidkyle davidkyle added >refactoring :Search Relevance/Search Catch all for Search Relevance and removed needs:triage Requires assignment of a team area label labels Jul 6, 2026
@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch labels Jul 6, 2026
@elasticsearchmachine

Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-search-relevance (Team:Search Relevance)

@elasticsearchmachine elasticsearchmachine removed the needs:triage Requires assignment of a team area label label Jul 6, 2026
@kkharbas kkharbas requested review from a team, Mikep86, davidkyle and tballison July 6, 2026 18:06

@KevinCorcoran KevinCorcoran left a comment

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.

LGTM

@Mikep86 Mikep86 left a comment

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.

LGTM!

@tballison tballison left a comment

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.

LGTM

@kkharbas kkharbas enabled auto-merge (squash) July 6, 2026 23:11
@kkharbas kkharbas merged commit 197c2d4 into elastic:main Jul 7, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>refactoring :Search Relevance/Search Catch all for Search Relevance Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v9.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants