我在Docker-compose文件中的当前配置:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.3
container_name: ${PROJECT_NAME}_elasticsearch
volumes:
- elastic:/var/lib/elastic/data
environment:
- "discovery.type=single-node"
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
- xpack.security.enabled=false
- ELASTIC_PASSWORD=pass
ulimits:
memlock:
soft: -1
hard: -1
ports:
- "${ELASTICSEARCH_PORT}:9200"
kibana:
image: docker.elastic.co/kibana/kibana:7.16.0
container_name: ${PROJECT_NAME}_kibana
ports:
- "${KIBANA_PORT}:5601"
我有一个问题与“限制的总字段[1000]已超过,而添加新字段”。我如何可以增加这一限制,通过对接组成文件配置。
1条答案
按热度按时间crcmnpdw1#
例如,尝试将
- FIELDS_LIMIT=3000
添加到environment
部件。