File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
server/src/main/java/org/elasticsearch/index/mapper Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1717import org .elasticsearch .common .xcontent .XContentHelper ;
1818import org .elasticsearch .core .Nullable ;
1919import org .elasticsearch .features .NodeFeature ;
20- import org .elasticsearch .index .IndexSettings ;
2120import org .elasticsearch .index .IndexVersion ;
2221import org .elasticsearch .index .IndexVersions ;
2322import org .elasticsearch .index .fielddata .FieldDataContext ;
@@ -756,8 +755,11 @@ private static void parseNonDynamicArray(
756755 if (token == XContentParser .Token .START_OBJECT ) {
757756 if (countArray ++ >= nestedDocsLimit ) {
758757 throw new IllegalStateException (
759- "The number array objects has exceeded the allowed limit of [" + nestedDocsLimit + "]. " +
760- "This limit can be set by changing the [" + MapperService .INDEX_MAPPING_NESTED_DOCS_LIMIT_SETTING .getKey ()
758+ "The number array objects has exceeded the allowed limit of ["
759+ + nestedDocsLimit
760+ + "]. "
761+ + "This limit can be set by changing the ["
762+ + MapperService .INDEX_MAPPING_NESTED_DOCS_LIMIT_SETTING .getKey ()
761763 + "] index level setting."
762764 );
763765 }
You can’t perform that action at this time.
0 commit comments