You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @ciarlystreet! If you sort by distance, elasticsearch returns the actual distance value as the sort value on each result. Then you can use an elasticpress hook to pull that into your post object, something like:
Wanted to leave a quick follow-up here... you actually need to implement the hook mentioned above, PLUS an additional hook to allow elasticpress to set this value on your post object:
Hi, this plugin is amazing! It's possible know the distance value for each post obtained from geo query?
The text was updated successfully, but these errors were encountered: