Skip to content

Return distance when sorting by _geo_distance #132

@Kayrim

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?

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