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

Fixes Geo Distance Meters incorrect type #85

Closed
wants to merge 2 commits into from

Conversation

rahulchander1
Copy link

Change Summary

Changed type of SearchResultHit.geo_distance_meters, still a key-value pair, but the type of the value has been changed from integer to number($float)

PR Checklist

Full details of issue in typesense/typesense-go#187

Change underlying type of geo_distance_meters from integer to float
fixes yml to conform to openapi
@rahulchander1
Copy link
Author

Note: This change assumes that the underlying node is functioning correctly and is meant to return a floating point value - for e.g. 421.0 vs 421.

If this is not the case, then this PR should not be merged, and the underlying node's code should be fixed instead

@haydenhoang
Copy link
Contributor

Thanks for the PR! This got fixed in Typesense v28 rc.

@jasonbosco jasonbosco closed this Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants