Skip to content

ScriptFieldsFetchSubPhase should create search scripts once per segment #26775

@jpountz

Description

@jpountz

Today, ScriptFieldsFetchSubPhase creates one SearchScript instance per field and per top hit. It should be refactored to do it once per segment similarly to what we did for doc values fields in #25644.

Metadata

Metadata

Assignees

Labels

:Search/SearchSearch-related issues that do not fall into other categories>enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions