Skip to content

Return distance when sorting by _geo_distance #132

Description

@Kayrim

would be awesome if we could include the distance value with the search result.

I know this can be done with SQL but would be great if we could add it to the result.

Similar to how we add score with $search->trackScores(true)

Something like $search->trackDistance(true) ? maybe

Will possibly add it locally, if it works would you like a PR?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    waitingWaiting for more details from issue author

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions