Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New distance_feature query type in ES7 #127

Open
missinglink opened this issue Feb 25, 2021 · 2 comments
Open

New distance_feature query type in ES7 #127

missinglink opened this issue Feb 25, 2021 · 2 comments

Comments

@missinglink
Copy link
Member

New query type distance_feature
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-distance-feature-query.html

We currently use geo_distance for filtering and _geo_distance for scoring, could this replace one or both of those?

Needs some investigating

@missinglink
Copy link
Member Author

We also currently use function_score for focus queries.

@missinglink
Copy link
Member Author

I suspect that if this is using a KNN algorithm that it could be significantly faster than using function_score for computing focus.point queries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant