-
Notifications
You must be signed in to change notification settings - Fork 988
Unable to retrieve a nested geo_shape #1248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
How to solve it |
Seeing this with ES version 7.4.2 and elasticsearch-hadoop-7.13.1.jar |
I can reproduce this in the latest code. It looks like the problem is that RestClient.sampleForFields() doesn't do a nested query if the field is nested. And if it did, I don't think that RestRepository.sampleGeoFields() is able to handle a nested field either. |
I was hoping I could give it a schema but I couldnt get that to work either tbh. |
Yeah a schema won't help unfortunately. We need to update the code. I haven't found a workaround yet. |
Ok thanks for your efforts its appreciated. |
Did this workaround work for you? |
It did. |
Can you share an example? I am having issues with this too and can't get it work properly. Thanks! |
Uh oh!
There was an error while loading. Please reload this page.
What kind an issue is this?
Issue description
Description
While using pyspark, I can't retrieve a nested geo_shape field. Non nested geo_shape are fine.
I can provide a geo_shape if needed.
Thanks for your help
Steps to reproduce
Code:
Strack trace:
The text was updated successfully, but these errors were encountered: