为了账号安全,请及时绑定邮箱和手机立即绑定

查询报错 Error while searching for request: SearchRequest{searchType=QUERY_THEN_FETCH, indices=[blog],

配置 

spring.elasticsearch.rest.uris=127.0.0.1:9300


报错

org.springframework.data.elasticsearch.ElasticsearchException: Error while searching for request: SearchRequest{searchType=QUERY_THEN_FETCH, indices=[blog], indicesOptions=IndicesOptions[ignore_unavailable=false, allow_no_indices=true, expand_wildcards_open=true, expand_wildcards_closed=false, allow_aliases_to_multiple_indices=true, forbid_closed_indices=true, ignore_aliases=false, ignore_throttled=true], types=[doc], routing='null', preference='null', requestCache=null, scroll=null, maxConcurrentShardRequests=0, batchedReduceSize=512, preFilterShardSize=128, allowPartialSearchResults=null, localClusterAlias=null, getOrCreateAbsoluteStartMillis=-1, source={"query":{"bool":{"should":[{"match_phrase":{"title":{"query":"mybatis","slop":0,"zero_terms_query":"NONE","boost":1.0}}},{"match_phrase":{"content":{"query":"mybatis","slop":0,"zero_terms_query":"NONE","boost":1.0}}}],"adjust_pure_negative":true,"boost":1.0}}}}

正在回答

0 回答

举报

0/150
提交
取消

查询报错 Error while searching for request: SearchRequest{searchType=QUERY_THEN_FETCH, indices=[blog],

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信