-
Notifications
You must be signed in to change notification settings - Fork 25.2k
[Doc] ignore_above default value is wrong. #27992
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
I guess the confusion comes from the fact that there are multiple defaults:
By the way, the reason why |
Like @jpountz said, I created an index:
Now the Should I close this issue? |
org.springframework.dao.InvalidDataAccessApiUsageException: Document contains at least one immense term in field="detailContent" (whose UTF8 encoding is longer than the max length 32766), all of which were skipped. Please correct the analyzer to not produce such terms. |
Elasticsearch version (
bin/elasticsearch --version
): Version: 6.1.1, Build: bd92e7f/2017-12-17T20:23:25.338Z, JVM: 1.8.0_151Plugins installed: []
JVM version (
java -version
): openjdk version "1.8.0_151"OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
OS version (
uname -a
if on a Unix-like system): Linux pmitn009906 4.4.0-41-generic #61-Ubuntu SMP Tue Sep 27 17:27:48 UTC 2016 x86_64 x86_64 x86_64 GNU/LinuxDescription of the problem including expected versus actual behavior: When i create a new index, the keyword mapping ignore_above defaults to 256. The doc says the default is 2147483647.
Steps to reproduce:
Please include a minimal but complete recreation of the problem, including
(e.g.) index creation, mappings, settings, query etc. The easier you make for
us to reproduce it, the more likely that somebody will take the time to look at it.
curl -XPUT 'localhost:9200/test?pretty' -H 'Content-Type: application/json' -d' { "settings" : { "index" : { } } }'
curl -XPUT 'localhost:9200/test/testType/1?pretty' -H 'Content-Type: application/json' -d' { "user" : "kimchy", "post_date" : "2009-11-15T14:12:12", "message" : "trying out Elasticsearch" } '
In addition to this, there is a blog post by Adrien Grand saying that the default ignore_above value is 256.
The text was updated successfully, but these errors were encountered: