bboss-elasticsearch icon indicating copy to clipboard operation
bboss-elasticsearch copied to clipboard

通用高性能Elasticsearch highlevel java orm rest client 客户端,100%兼容elasticsearch 1.x,2.x,5.x,6.x,7.x,8.x,兼容spring boot 1.x,2.x,3.x,开箱即用

Results bboss-elasticsearch issues
Sort by recently updated
recently updated
newest added

依赖版本: ```xml com.bbossgroups.plugins bboss-datatran-jdbc 7.2.6 ``` dsl脚本: ```xml ``` 错误截图: ![Image](https://github.com/user-attachments/assets/e37ace17-1a6b-4276-946d-66696af94fb9)

![Image](https://github.com/user-attachments/assets/1c3c6c52-12a9-43f3-9248-facdf59f0a63) 你好,我们使用的6.2.9版本,出现了这个错误,我们是裸机部署,不是容器环境,没有自动重启情况。跑了一天大概出现了2000多次这个错误,从早晨到晚上不间断出现,关键是还有请求成功的。按理说如果状态不对,所有的请求不应该都失败吗,为什么还大部分会请求成功,只有个别请求失败的呢。

请求过多的时候,会出现以下错误 org.frameworkset.elasticsearch.ElasticSearchException: java.lang.IllegalStateException: Connection pool shut down Caused by: java.lang.IllegalStateException: Connection pool shut down at org.apache.http.util.Asserts.check(Asserts.java:34) at org.apache.http.pool.AbstractConnPool.lease(AbstractConnPool.java:191) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.requestConnection(PoolingHttpClientConnectionManager.java:267) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:176) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)...

Hello 请问目前是否有支持Kerberos认证的计划呢? 或者目前是否有方式可以注入自定义的Http Client呢?我看源码里头的ClientConfiguration的getHttpClient方法为final实现,似乎无法自行注入自己实现的HttpClient,(如果支持的话,我们自己应该可以尝试下实现简单的Kerberos认证)

help wanted
question

执行DB2ESImportBuilder导入数据,运行成功没有报错,但是es中无数据

question

获取索引表字段信息时报错`org.frameworkset.elasticsearch.ElasticSearchException: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String` `RestClientUtil->public List getIndexMappingFields(String index,final String indexType)->IndexField indexField = BuildTool.buildIndexField(field, fields, null)->indexField.setCopyTo((String)fieldInfo.get("copy_to"))` `fieldInfo.get("copy_to")`返回的是`java.util.ArrayList`类型,无法强转为`java.lang.String`类型 ![image](https://user-images.githubusercontent.com/25070331/97945817-9de83080-1dc3-11eb-80c2-3484c48c4690.png)

bug

bboss版本:6.2.2 ES版本:7.3.2 ClientInterface的getIndiceSetting是获取索引的settings,第二个参数应该是获取指定的setting??当我把该参数设置为index.number_of_shards时,获取失败。DEBUG后发现拼接的路径为:indexName/_settings?index.number_of_shards,这样并不能获取。 通过kibana测试,获取该setting的正确路径应该为:indexName/_settings/index.number_of_shards,返回结果: { "indexName" : { "settings" : { "index" : { "number_of_shards" : "1" } } } }

enhancement

es7 8之后 type基本上就废除了,以后也不会有了,那么相应的代码是否也要做调整

good first issue

1. limit 问题 select * from table limit from,size 这种语法是否有问题,一直报【逗号】不匹配 https://user-images.githubusercontent.com/55923514/98760184-b5e83180-240d-11eb-9bd0-5f6c3f4555e2.png 错误信息:{"error":{"root_cause":[{"type":"parsing_exception","reason":"line 1:68: mismatched input ',' expecting "}],"type":"parsing_exception","reason":"line 1:68: mismatched input ',' expecting ","caused_by":{"type":"input_mismatch_exception","reason":null}},"status":400} 2.ik_max_word问题 https://user-images.githubusercontent.com/55923514/98760414-2e4ef280-240e-11eb-9462-4c3ab359f3a7.png https://user-images.githubusercontent.com/55923514/98760461-4757a380-240e-11eb-873a-ef6555f11ab1.png 错误信息:{"error":{"root_cause":[{"type":"x_content_parse_exception","reason":"[2:22] [sql/query] failed...

help wanted

ElasticSearchHelper.getRestClientUtil("es/xxx.xml") 容器[conf/elasticsearch.xml]没有定义名称为[es/xxx.xml]的bean对象 求教是什么问题呢