Code Monkey home page Code Monkey logo

elasticsearch-utils's People

Contributors

stevapple avatar

Watchers

 avatar

elasticsearch-utils's Issues

支持 HTTP 协议

当前的实现均默认使用 SSL 加密连接,我们可以通过 --insecure 开关来切换到不加密的 HTTP 协议。该开关应当与 --ca-cert 选项互斥。

`http_auth` is deprecated

es-exporter.py:84: DeprecationWarning: The 'http_auth' parameter is deprecated. Use 'basic_auth' or 'bearer_auth' parameters instead
  es = AsyncElasticsearch(

es-exporter.py中某处api与最新版本不匹配

82-88行的api已经发生了变动。

将elasticsearch包回退到7.x最高版本时报错为
ImportError: cannot import name 'AsyncElasticsearch' from 'elasticsearch'
将elasticsearch包升级到8.0以上版本时报错为
TypeError: AsyncElasticsearch.init() got an unexpected keyword argument 'host'

Address deprecation in `es-importer.py`

es-importer.py:110: DeprecationWarning: The 'body' parameter is deprecated and will be removed in a future version. Instead use the 'operations' parameter. See https://github.com/elastic/elasticsearch-py/issues/1698 for more information
  await es.bulk(body=actions, index=index, pipeline=pipeline)

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.