遇見(jiàn)的問(wèn)題:
Failed to execute phase [query], all shards failed; shardFailures {[eo918sbJQ8-luXJZR5LyVQ]
[todayonduty][0]: RemoteTransportException[[node-1][192.168.10.113:9300]
[indices:data/read/search[phase/query]]]; nested: IllegalArgumentException[Inner result window
is too large, the inner hit definition's [null]'s from + size must be less than or equal to: [100] but
was [1000]. This limit can be set by changing the [index.max_inner_result_window] index level
setting.]; }{[eo918sbJQ8-luXJZR5LyVQ][todayonduty][1]: RemoteTransportException[[node-1]
[192.168.10.113:9300][indices:data/read/search[phase/query]]]; nested:
IllegalArgumentException[Inner result window is too large, the inner hit definition's [null]'s from +
size must be less than or equal to: [100] but was [1000]. This limit can be set by changing the
[index.max_inner_result_window] index level setting.]; }{[eo918sbJQ8-luXJZR5LyVQ]
[todayonduty][2]: RemoteTransportException[[node-1][192.168.10.113:9300]
[indices:data/read/search[phase/query]]]; nested: IllegalArgumentException[Inner result window
is too large, the inner hit definition's [null]'s from + size must be less than or equal to: [100] but
was [1000]. This limit can be set by changing the [index.max_inner_result_window] index level
setting.]; }{[eo918sbJQ8-luXJZR5LyVQ][todayonduty][3]: RemoteTransportException[[node-1]
[192.168.10.113:9300][indices:data/read/search[phase/query]]]; nested:
IllegalArgumentException[Inner result window is too large, the inner hit definition's [null]'s from +
size must be less than or equal to: [100] but was [1000]. This limit can be set by changing the
[index.max_inner_result_window] index level setting.]; }{[eo918sbJQ8-luXJZR5LyVQ]
[todayonduty][4]: RemoteTransportException[[node-1][192.168.10.113:9300][indices:data/read/search[phase/query]]]; nested: IllegalArgumentException[Inner result window
is too large, the inner hit definition's [null]'s from + size must be less than or equal to: [100] but
was [1000]. This limit can be set by changing the [index.max_inner_result_window] index level
setting.]; }文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-404032.html
解決辦法:文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-404032.html
PUT */_settings?preserve_existing=true
{
"max_result_window": "2000000000"
}
#查詢子嵌套結(jié)果擴(kuò)容
PUT */_settings?preserve_existing=true
{
"max_inner_result_window": "2000000000"
}
到了這里,關(guān)于elasticsearch 數(shù)據(jù)庫(kù)擴(kuò)容的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!