Spatial search with content picker #11866
Unanswered
stevetayloruk
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You could do a Spatial ElasticSearch Query on top of the "Store" content type. It will return the proper "Stores" that are within the range that you are looking for. Then, you need to do a second ElasticSearch Query that will find "Events" that are associated with these "Stores". Not sure if this can be done in a single ElasticSearch Query. I would need to try. That would be a "nested boolean query". |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to use the lucene spatial search with a content picker field?
For example,
A list of
Events
with aStore
content picker field. The geopoint is attached to theStore
content type. I want to be able to do a spatial search on events but use the attachedStore
's geolocation. (aka a join).Thanks
Beta Was this translation helpful? Give feedback.
All reactions