_geo
must be configured as a displayedAttribute to see _geoDistance
#696
LiamKarlMitchell
started this conversation in
Feedback & Feature Proposal
Replies: 1 comment 2 replies
-
Hi! Indeed, as stated in the documentation "returned documents will only include _geoDistance if _geo is present in the displayedAttributes list." As this seems more like a feature request, I am transferring this to the product repository It would be great if you could elaborate on why this is important to you 🙏 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It does not seem possible to have
_geoDistance
visible on its own without the_geo
information also displayed in the document results.What if I don't want to include the _geo lat/lng in the response for some reasons?
Is there a way to have only
_geoDistance
displayed but not_geo
?Both _geoRadius as a filter and _geoPoint as as sort need to be used to see _geoDistance.
And _geo needs to be displayed.
Request:
Response:
Beta Was this translation helpful? Give feedback.
All reactions