티스토리 뷰

elastic

인덱싱 중에...

shannon. 2023. 3. 17. 21:45
반응형

인데스 잘 생성되나 싶었는데

"caused_by"=>{"type"=>"illegal_argument_exception", "reason"=>"Limit of total fields [1000] has been exceeded while adding new fields [1]"}}}}

이런 에러가 뜨면서 진행되지 않았다.

의미는...인덱스 개수 제한이 기본이 1000에 걸린 것 같다.

그래서 찾아보니 세팅값 수정하면 될듯하다.

You can fix the issue by increasing the value of index.mapping.total_fields.limit (default 1000)

index.mapping.total_fields.limit

The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit. The default value is 1000.

To increase total fields limit to 2000, try this

PUT test_index/_settings
{
  "index.mapping.total_fields.limit": 2000
}
curl -s -XPUT http://localhost:9200/test-index/_settings  -H 'Content-Type: application/json' -d '{"index.mapping.total_fields.limit": 2000}'

 

반응형

'elastic' 카테고리의 다른 글

Elastic stack  (0) 2023.04.12
elasticsearch backfill, forward-fill with previous log's value  (0) 2023.04.12
elastic geo_point type의 field 만들기  (0) 2023.04.03
logstash grok filter kvpattern  (0) 2023.03.15
make grok patterns with debugger  (0) 2023.03.10
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/07   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
글 보관함