{ "_shards"콘솔에서 오류 다음 부여합니다 콘솔 레일에 다음과 같은 오류를 제공합니다 : { "총"5 "성공을": 0, "실패": 5 " 중첩 : ElasticSearchException [제안을 실행하지 못했습니다], 중첩 : ElasticSearchIllegalArgumentException [[suggest]를 실행하는 데 실패했습니다 : [ "index": "test", "shard": 4, "reason": "BroadcastShardOperationFailedException [[test] [4] ] [ "test", "shard": 3, "reason": "BroadcastShardOperationFailedException [[test] [3]] 중첩 된 : ElasticSearchException [제안을 실행하지 못했습니다] ], 중첩 : ElasticSearchIllegalArgumentException [[제안]이 [크기]]를 지원하지 않음; "}, {"인덱스 ":"테스트 ","샤드 ": 2,"이유 ":"BroadcastShardOperationFailedException [[테스트] [2]]; 중첩 : ElasticSearchException [제안 실행 실패]; nes ted : ElasticSearchIllegalArgumentException [[suggest]가 [size]]를 지원하지 않습니다. "}, {"index ":"test ","shard ": 0,"reason ":"BroadcastShardOperationFailedException [[test] [0]]; 중첩 : ElasticSearchException [제안 실행 실패]; 중첩 : ElasticSearchIllegalArgumentException [[suggest]는 [size]]를 지원하지 않습니다. "}, {"index ":"test ","shard ": 1,"reason ":"BroadcastShardOperationFailedException [[test] [1]]; 중첩 : ElasticSearchException [제안 실행 실패]; 중첩 : ElasticSearchIllegalArgumentException [[suggest]는 [size]]를 지원하지 않습니다. "}]}}
난 타이어를 사용하고 이에 대한 가능한 이유를 이해할 수되지는/karmi이 의 ES 버전은 0.9.9
이 내 매핑 코드
{
"test" : {
"document" : {
"properties" : {
"artikelnummer" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"index_options" : "docs"
},
"bestelltext" : {
"type" : "multi_field",
"fields" : {
"bestelltext" : {
"type" : "string"
},
"ngram" : {
"type" : "string",
"index_analyzer" : "ngram_index_analyzer",
"search_analyzer" : "ngram_search_analyzer",
"include_in_all" : false
}
}
},
"bezeichnung" : {
"type" : "multi_field",
"fields" : {
"bezeichnung" : {
"type" : "string"
},
"ngram" : {
"type" : "string",
"index_analyzer" : "ngram_index_analyzer",
"search_analyzer" : "ngram_search_analyzer",
"include_in_all" : false
},
"suggest" : {
"type" : "string",
"analyzer" : "suggest_analyzer",
"include_in_all" : false
}
}
},
"bezeichnung_zusatz" : {
"type" : "multi_field",
"fields" : {
"bezeichnung_zusatz" : {
"type" : "string"
},
"ngram" : {
"type" : "string",
"index_analyzer" : "ngram_index_analyzer",
"search_analyzer" : "ngram_search_analyzer",
"include_in_all" : false
}
}
},
"dimension" : {
"type" : "string",
"include_in_all" : false
},
"eannummer" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"index_options" : "docs"
},
"gewicht" : {
"type" : "float",
"include_in_all" : false
},
"gruppe" : {
"type" : "multi_field",
"fields" : {
"gruppe" : {
"type" : "string"
},
"ngram" : {
"type" : "string",
"index_analyzer" : "ngram_index_analyzer",
"search_analyzer" : "ngram_search_analyzer",
"include_in_all" : false
}
}
},
"gruppe_nummer" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"index_options" : "docs",
"include_in_all" : false
},
"gruppe_zusatz" : {
"type" : "multi_field",
"fields" : {
"gruppe_zusatz" : {
"type" : "string"
},
"ngram" : {
"type" : "string",
"index_analyzer" : "ngram_index_analyzer",
"search_analyzer" : "ngram_search_analyzer",
"include_in_all" : false
}
}
},
"hersteller" : {
"type" : "multi_field",
"fields" : {
"hersteller" : {
"type" : "string"
},
"ngram" : {
"type" : "string",
"index_analyzer" : "ngram_index_analyzer",
"search_analyzer" : "ngram_search_analyzer",
"include_in_all" : false
},
"unchanged" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"index_options" : "docs",
"include_in_all" : false
}
}
},
"hersteller_artikelnummer" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"index_options" : "docs"
},
"hersteller_nummer" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"index_options" : "docs",
"include_in_all" : false
},
"hierarchie" : {
"type" : "multi_field",
"fields" : {
"hierarchie" : {
"type" : "string",
"index_analyzer" : "hierarchie_index_analyzer",
"search_analyzer" : "keyword",
"include_in_all" : false
},
"ngram" : {
"type" : "string",
"index_analyzer" : "ngram_index_analyzer",
"search_analyzer" : "ngram_search_analyzer",
"include_in_all" : false
}
}
},
"infotext" : {
"type" : "multi_field",
"fields" : {
"infotext" : {
"type" : "string"
},
"ngram" : {
"type" : "string",
"index_analyzer" : "ngram_index_analyzer",
"search_analyzer" : "ngram_search_analyzer",
"include_in_all" : false
}
}
},
"langtext" : {
"type" : "multi_field",
"fields" : {
"langtext" : {
"type" : "string"
},
"ngram" : {
"type" : "string",
"index_analyzer" : "ngram_index_analyzer",
"search_analyzer" : "ngram_search_analyzer",
"include_in_all" : false
}
}
},
"listenpreis_brutto" : {
"type" : "float",
"include_in_all" : false
},
"listenpreis_netto" : {
"type" : "float",
"include_in_all" : false
},
"matchcode" : {
"type" : "string",
"index" : "not_analyzed",
"omit_norms" : true,
"index_options" : "docs"
},
"mengeneinheit" : {
"type" : "string",
"include_in_all" : false
}
}
}
} 은}
매핑에 어딘가에'size' 키워드를 사용하고 있습니까? –
해당 크기의 키워드가 없습니다 – Anish
@ Pierre-LouisGottfrois pl 내 편집보기 – Anish