Taybou commented on a change in pull request #134: UNOMI-284 Make mapping total
fields limit configurable
URL: https://github.com/apache/unomi/pull/134#discussion_r390349893
##########
File path:
persistence-elasticsearch/core/src/main/java/org/apache/unomi/persistence/elasticsearch/ElasticSearchPersistenceServiceImpl.java
##########
@@ -1056,7 +1056,8 @@ private void internalCreateIndex(String indexName,
String mappingSource) throws
createIndexRequest.settings("{\n" +
" \"index\" : {\n" +
" \"number_of_shards\" : " + numberOfShards +
",\n" +
- " \"number_of_replicas\" : " + numberOfReplicas
+ "\n" +
+ " \"number_of_replicas\" : " + numberOfReplicas
+ ",\n" +
+ " \"index.mapping.total_fields.limit\" : " +
monthlyIndexMappingTotalFieldsLimit + "\n" +
Review comment:
```suggestion
" \"index.mapping.total_fields.limit\" : " +
indexMappingTotalFieldsLimit + "\n" +
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services