Giter Site home page Giter Site logo

Comments (6)

yin-bp avatar yin-bp commented on July 21, 2024

没有做过与Amazon OpenSearch对接尝试,欢迎验证测试,参考文档:
https://esdoc.bbossgroups.com/#/quickstart

如有问题可以进行反馈交流,qq群:21220580

from bboss-elasticsearch.

beijingcn avatar beijingcn commented on July 21, 2024

链接OpenSearch 初始化时获取版本号 为 2.3.0,判断版本小于7 , 所以后续请求会带上 type 则出错。

from bboss-elasticsearch.

beijingcn avatar beijingcn commented on July 21, 2024

OpenSearch 版本信息返回:
{
"name" : "DESKTOP-VQM3CP0",
"cluster_name" : "opensearch",
"cluster_uuid" : "KhnbxXsGTYuOgQYHC7eyXQ",
"version" : {
"distribution" : "opensearch",
"number" : "2.3.0",
"build_type" : "tar",
"build_hash" : "6f6e84ebc54af31a976f53af36a5c69d474a5140",
"build_date" : "2022-09-09T00:07:12.137133581Z",
"build_snapshot" : false,
"lucene_version" : "9.3.0",
"minimum_wire_compatibility_version" : "7.10.0",
"minimum_index_compatibility_version" : "7.0.0"
},
"tagline" : "The OpenSearch Project: https://opensearch.org/"
}

==========
所以在初始化方法内获取版本可以增加判断 distribution 为opensearch 则取 minimum_wire_compatibility_version 的版本号

from bboss-elasticsearch.

yin-bp avatar yin-bp commented on July 21, 2024

@beijingcn

麻烦提供一下opensearch的连接欢迎信息,以便进行识别处理

from bboss-elasticsearch.

beijingcn avatar beijingcn commented on July 21, 2024

@yin-bp 如上一个回复

from bboss-elasticsearch.

yin-bp avatar yin-bp commented on July 21, 2024

@beijingcn @HaiTao-G
问题已经修复并提交github,参考以下文档调整bboss版本号:

https://esdoc.bbossgroups.com/#/quickstart

from bboss-elasticsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.