python - Trying to access data in Elasticsearch indecies
问题描述
There is an index created on Elastic Kibnana and trying to access and update. I am not sure if I understood correctly.
For example, let's say I have my own domain called "123.45.67.89:6000."
In Python, this is what I have
from elasticsearch import Elasticsearch
es = Elasticsearch("http://123.45.67.89:6000")
es.indices.get_alias()
The following code fails to retrieve with 400 error message.
elasticsearch.exceptions.NotFoundError: NotFoundError(404, 'Not Found', 'Not Found')
Question: How can I access or fetch data from "operationratefinal"?
If I were to use "get_alias," I was expecting result from "operationratefinal."
Below is what I have from Kibana,
解决方案
推荐阅读
- python-3.x - Python - 通过 Pillow 打开时,GIF 不移动并且分配了不同的名称
- pandas - pandas 和“'Nontype' 对象不可调用”
- java - 无法在 Android 中使用 SMS OTP 验证
- python - 错误“列表”对象不可调用,在 discord.py 1.6.0 中
- arrays - 使用 Mojolicious::Lite (perl) - 我想将所有参数的列表放入一个简单的@ARRAY
- vba - 收到邮件/outlook/VBA后脚本执行
- zooming - 根据上下文,如何获得允许的最大缩放并相应地设置地图范围
- android - ScanCallback onScanResult 不扫描我的手机
- anylogic - 如果使用取件,托盘架尺寸不会更新
- overflow - RISC V 中的斐波那契函数