慕工程0448799
2021-04-18 13:38
配置
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}}}}
还没有人回答问题,可以看看其他问题
Springboot + ElasticSearch 构建博客检索系统
22917 学习 · 112 问题
相似问题