Skip to content

Conversation

@nik9000
Copy link
Member

@nik9000 nik9000 commented Aug 3, 2020

This moves the distance_feature query building out of
DistanceFeatureQueryBuilder and into subclasses of MappedFieldType.
Without this we don't have a chance of supporting this for runtime
fields. In general I'm not sad to see the instanceofs go.

This moves the `distance_feature` query building out of
`DistanceFeatureQueryBuilder` and into subclasses of `MappedFieldType`.
Without this we don't have a chance of supporting this for runtime
fields. In general I'm not sad to see the `instanceof`s go.
@nik9000 nik9000 added :Search/Search Search-related issues that do not fall into other categories >refactoring v8.0.0 v7.10.0 labels Aug 3, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/Search)

@elasticmachine elasticmachine added the Team:Search Meta label for search team label Aug 3, 2020
@nik9000 nik9000 changed the title Move distance_feature query building into FMT Move distance_feature query building into MGT Aug 3, 2020
@nik9000 nik9000 changed the title Move distance_feature query building into MGT Move distance_feature query building into MFT Aug 3, 2020
@javanna javanna mentioned this pull request Aug 3, 2020
30 tasks
Copy link
Member

@javanna javanna left a comment

Choose a reason for hiding this comment

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

LGTM

@nik9000
Copy link
Member Author

nik9000 commented Aug 6, 2020

@elasticmachine update branch

@nik9000
Copy link
Member Author

nik9000 commented Aug 6, 2020

@elasticmachine update branch

@nik9000 nik9000 merged commit 04ca191 into elastic:master Aug 6, 2020
nik9000 added a commit to nik9000/elasticsearch that referenced this pull request Aug 6, 2020
This moves the `distance_feature` query building out of
`DistanceFeatureQueryBuilder` and into subclasses of `MappedFieldType`.
Without this we don't have a chance of supporting this for runtime
fields. In general I'm not sad to see the `instanceof`s go.
nik9000 added a commit that referenced this pull request Aug 10, 2020
This moves the `distance_feature` query building out of
`DistanceFeatureQueryBuilder` and into subclasses of `MappedFieldType`.
Without this we don't have a chance of supporting this for runtime
fields. In general I'm not sad to see the `instanceof`s go.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>refactoring :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team v7.10.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants