查询报错 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}}}}