-
Notifications
You must be signed in to change notification settings - Fork 25k
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
With ES 7.10.2 unable to make geo_point field not-indexed (Regression from 7.5.2) #69401
Comments
I also tested it with 7.8.1 and it worked but did not work with 7.9.0, so looks like a regression in 7.9.0. My gut feeling is that this change broke it but I have no proof: #58160 |
Pinging @elastic/es-search (Team:Search) |
Indeed, this is working in 7.11. However, there was a significant license change in 7.11, and it is no no longer a straight forward upgrade from 7.5.2 for us. We need to get it clear with a legal department :( Is there a change the fix can be back-ported, and 7.10.3 is released? |
Pinging @elastic/es-analytics-geo (Team:Analytics) |
We also have a custom ES plug-in that extends painless. We use lang-painless, that seems to disappear in 7.11 and this is not mentioned as a breaking change. This makes migration to 7.11 much more complicated. We can change it to use elasticsearch-scripting-painless-spi instead but now we get errors for grants that we did not have before. This is not related to this ticket directly but given that there is no clear documentation of what changed wrt plug-in development in 7.11, it complicates the migration. |
Sorry for the late reply but we discuss it internally. It is not possible to release a 7.10.x version anymore due to backward compatibilities constraints. I am afraid the way forward is to upgrade to 7.11+. |
Elasticsearch version (
bin/elasticsearch --version
):Version: 7.10.2, Build: default/tar/747e1cc71def077253878a59143c1f785afa92b9/2021-01-13T00:42:12.435326Z, JVM: 11.0.6
Plugins installed: []
JVM version (
java -version
):java version "11.0.6" 2020-01-14 LTS
OS version (
uname -a
if on a Unix-like system):18.7.0 Darwin Kernel Version 18.7.0: Fri Oct 30 12:37:06 PDT 2020; root:xnu-4903.278.44.0.2~1/RELEASE_X86_64 x86_64
Description of the problem including expected versus actual behavior:
When creating a mapping with a geo_point field and "index":false, the index property gets ignored. The expected behavior is that that field is not getting index, and "index" property is retained in the mapping. The other problem is adding any new field to the mapping fails.
Steps to reproduce:
curl -XPUT "localhost:9200/test_index"
As you can see,
"index":false
is missing forlocation
field.4. now add a new field to the mapping:
As you can see, even though the only difference between two mapping requests is the addition of a new field, the request fails because the created mapping in (2) is different from what was actually in the mapping request.
The same steps work in ES 7.5.2, the output of step 3 there is
and step 4 also works:
The text was updated successfully, but these errors were encountered: