Skip to content

Conversation

@javanna
Copy link
Member

@javanna javanna commented Oct 12, 2020

This is the backport of #63407

MapperService exposes an unmappedFieldType method that builds and caches anonoymous field types created when sorting on unmapped fields, based on the unmapped type being specified in the search request.

Such method is only called through QueryShardContext, hence it can be moved out of MapperService and its logic can be simplified by removing the caching of unmapped field types.

`MapperService` exposes an `unmappedFieldType` method that builds and caches anonoymous field types created when sorting on unmapped fields, based on the unmapped type being specified in the search request.

Such method is only called through `QueryShardContext`, hence it can be moved out of `MapperService` and its logic can be simplified by removing the caching of unmapped field types.
@javanna
Copy link
Member Author

javanna commented Oct 12, 2020

run elasticsearch-ci/packaging-sample-windows

@javanna
Copy link
Member Author

javanna commented Oct 12, 2020

run elasticsearch-ci/2

@javanna javanna merged commit ccbb8d7 into elastic:7.x Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant