Advertisement

ES查询内容长度超出配置缓冲区限制;nested exception

阅读量:

解决办法

工程增加类

复制代码
 package com.luding.task.config;

    
  
    
 import org.apache.http.HttpResponse;
    
 import org.apache.http.nio.protocol.HttpAsyncResponseConsumer;
    
 import org.elasticsearch.client.HeapBufferedAsyncResponseConsumer;
    
 import org.elasticsearch.client.HttpAsyncResponseConsumerFactory;
    
 import org.elasticsearch.client.RequestOptions;
    
 import org.springframework.context.annotation.Configuration;
    
 import org.springframework.web.servlet.HandlerInterceptor;
    
 import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
    
 import o

全部评论 (0)

还没有任何评论哟~