나는 탄성 찾기에서 문자열의 길이를 늘리는 방법을 찾고 있습니다. 이 후, UTF8 encoding is longer than the max length 32766, 위해 나는 다음 중 하나를 수행 할 필요가 수행하는 것을 말한다 :탄성 찾기에서 문자열의 크기를 늘리는 방법
1) change the type to binary
2) to continue to use string but set the index type to "no"
가 어떻게 이들 중 하나를 수행 할 것인가?
매우 도움이! Java API 호출을 통해 인덱스 매핑을 설정하는 방법을 어디에서 찾을 수 있는지 알고 있습니까? 나는 ES 사이트에서 아무 것도 찾을 수 없다. – Adrian
두 가지 예 : http://stackoverflow.com/questions/22071198/adding-mapping-to-a-type-from-java-how-do-i-do-it and http://stackoverflow.com/ 질문/17292668/elasticsearch-adding-manual-mapping-using-java –
@John Petrone 큰 문자열에 대해 "not_analyzed"(두 번째 예)를 설정하는 것이 왜 지금 문제의 원인일까요? – SerG