elasticsearch-x-pack 相关问题


Python tkinter - 小部件 padx 和 pack-methods ipadx 之间有什么区别

我尝试理解小部件的 padx 和该小部件的 pack 方法的 ipadx 之间的区别。 从 tkinter 导入 * 窗口 = Tk() 按钮(窗口,文本=“aaaaaa”,padx=50).pack()


如何在d3 v7中使用d3 pack创建螺旋图?

我能够使用 d3 pack 创建图表,但想要在螺旋布局中定位圆圈,如何在 pack 中定位圆圈 这是我的代码 const sortBubble = () => { 设置显示返回按钮(


Kibana 无法从 Elasticsearch 节点检索版本信息。 getaddrinfo EAI_AGAIN elasticsearch

我正在尝试通过 docker-compose.yml 文件安装 kibana 和 elasticsearch,我得到了 {"type":"log","@timestamp":"2024-01-09T18:24:14+00:00 “,”标签...


Elasticsearch:何时将 omit_norms 选项设置为 false

elasticsearch 中 omit_norms 选项的良好用例是什么?我在 es 网站上找不到足够的解释。


将文档写入磁盘时,ElasticSearch(lucene) 段是必须的吗?

我想知道将文档写入磁盘时是否需要 Lucene 段。 以下是文档如何从 ElasticSearch 写入磁盘的简要过程 首先,将ElasticSearch文档写入...


如何记录所有执行的elasticsearch查询

我想查看针对 Elasticsearch 实例执行的所有查询。是否可以在调试模式下运行elasticsearch,或者告诉它存储针对它执行的所有查询? 目的是...


Llama-index 如何针对 OpenSearch Elasticsearch 索引执行搜索查询?

我有以下代码,可以在 Opensearch Elasticsearch 中创建索引: def openes_initiate(文件): 端点 = getenv("OPENSEARCH_ENDPOINT", "http://localhost:9200&...


Golang elasticsearch TypedClient 聚合如何循环结果

我正在使用 Elastic 的官方 Elasticsearch Go Typed Client 包来查询 uniq 服务名称,为此我构建了一个聚合搜索。查询成功,响应包含Bu...


使用elasticsearch 6过滤文档中的对象数组,删除不匹配的对象

在elasticsearch 6.0中,我创建了一个具有嵌套映射类型的索引: 放置节点2 { “设置” : { “指数” : { “分片数量”:3, ...


Elasticsearch 密码重置失败并显示 https

当我尝试使用以下命令重置弹性搜索密码时(在弹性搜索的 bin 目录中)。 elasticsearch-重置密码-u弹性-i 它抛出以下错误。 警告:忽略 JAVA_...


从 DT 数据表输出中删除 HTML 标签

尝试使用 expss 包制作闪亮的表格,但是在下载数据时,HTML 标签也出现在不应该出现的列标题中。 任何人都可以在这里帮忙。 #安装.pack...


ElasticSearch 正则表达式使用“ ”

我知道ElasticSearch不使用PRCE,并且它的操作有限,但我想知道是否有什么方法可以使用 在正则表达式中。 例如,弹性搜索不支持 \d 但我们可以使用 [0...


Polars DataFrame 数据透视表以 List[str] 作为数据类型

数据 = {“错误”:[[“x”,“z”],无,[“x”,“z”],无], “X”:[“x”,“p”,“x”,“p”], &qu...


我想要一个Python中的tkinter按钮通过调整窗口大小来改变它的位置

我使用 Tkinter Python 制作了一个桌面应用程序,我对按钮的位置有问题,尤其是退出按钮,我使用“pack”,如下图所示: 我已经尝试过


我有一个elasticsearch索引,一个名为“authority”的字段,它有多个字符串值,我想要最后一个逗号后面的最后一个值?

elasticsearch 索引名称为 data1 @authority 字段有时包含多个值或单个值 “@权威”: [ “恒星”, “克里斯”, “利昂娜”, “我……


向 ElasticSearch 中的文档添加新字段

我在ES中有一个索引,其文档格式如下 "_id": "9hGu8IwBXomVfLb-UJJo", “_score”:1, “_来源”: { “主持人”: { &


Kibana_system 无法验证弹性用户

我遇到了一个不知道如何解决的问题。 我已在本地安装了elasticsearch和kibana版本8.7.1,并按照本指南创建了证书: https://quachtd.com/


Elastic APM 服务器在 Docker 中不可用

我正在尝试运行 apm-server 使用 apm-agent 从基于 java 的应用程序收集并发送给 Elasticsearch。 这是我的撰写文件: 服务: 订单服务: 图片:apm-java/order-service:1.0.0 ...


Apache Tiles 3.x 不再在 Spring 6.x 中编译,因为 javax.* 重命名为 jakarta。*

我的应用程序使用Spring 5.x,Apache Tiles 3.0.x。现在我想迁移到 Spring 6.x,但问题出在 Apache Tiles 3.0.x 上,因为它有 javax.servlet.* 而不是 jakarta.* 。所有春天...


从 X 和 Y 表中分割名称

创建表x ( 名称 varchar(20), 电子邮件 varchar(20), 订单 ID 整数 ); 插入 x 值('拉胡尔卡达','[email protected]',123), ('Raj V', '[email protected]', 23), ('RV', 'z@


根据单一条件改变几列

df <- data.frame(x=1:10) Can I mutate several columns based on a single condition? For example, I can do this: df %>% 变异(y = if_else(x>3,"Y","N"), z = if_else(x>...


ListResultsConsumer:发现重复行并指定了“ASSERT”

JDK 17 JPA 3.1 休眠 6.2 将 spring boot 2.x 升级到 3.x(涉及从 hibernate 5.x 升级到 6.x)后,我收到此错误: org.springframework.orm.jpa.JpaSystemException:重复...


Elasticsearch:如何在curl 命令中使用Painless 脚本引用嵌套字段名称

我有一个轻松的脚本,可以在控制台中运行,但在curl中失败。该脚本引用嵌套字段 (event.orinal)。 在 Kibana 控制台中,此语句运行良好: ctx._source.event.remove('


Spring data elasticsearch repository.count() 返回“当前令牌 (VALUE_NUMBER_INT) 不是布尔类型”

我正在将一个相当旧的应用程序从 Spring Boot 2.0.2 升级到最新的应用程序。 中期目标是更新到最新版本 2 (2.7.18) 所以这可能是一个依赖版本...


PolynomialRing 变量赋值后是否可以重置?

圣人:R17. = PolynomialRing(GF(17)) 圣人:f1 = R17(x + 10) 圣人:f1 = x + 10 圣人:f1 圣人:x + 10 所以现在 f1 是一个多项式。 但我然后给 x 一个值 圣人:x = 25 然后我尝试定义


gsub() 不会替换 '.' (点)

我想将“2014.06.09”中的点替换为“2014-06-09”。我正在使用 gsub() 函数。如果 x <- "2014.06.09" gsub('2', '-' ,x) # [1] "-014.06.09" But when I try gsub('.', '-', x) # [1] ...


恢复Elasticsearch快照时出错

我使用curl 从 1 个集群创建了一个快照。当我尝试在另一个集群上使用curl 恢复快照时,第二个集群无法分配所有索引。集群 1 有 2 个节点,集群 2 有 1 个节点。我...


为什么ElasticSearch将主分片和副本分片放在同一主机上?

这是添加到现有集群测试中的新主机,触发了重新平衡过程。 两个节点node-5、node-6位于新物理主机中。 对于每个分片,只有一个主分片...


为什么ElasticSearch将主分片和副本分片放在同一主机上?

这是添加到现有集群测试中的新主机,触发了重新平衡过程。 两个节点node-5、node-6位于新主机中。 对于每个分片,只有一个主分片和一个


使用sympy求解具有绝对值的两侧不等式

比较简单的数学题,求3的范围<= Abs[6 - x] <= 5. Not hard to solve by hand, and Mathematica nails it, with the answer 1 <= x <= 3 || 9 <= x <= 11. The


如何显示摘要结果?

如何导出汇总结果,我无法使用stargazer。 stargazer(摘要(my_plm_pooling_1, vcov = 函数(x) vcovHC(x)), type='text') 结果: 暗名错误 (x) <- dn : comprimento de 'dim...


根据给定坐标(x,y)计算边界框的宽度和高度

我有一个坐标列表 常量坐标 = [{x:10, y:20}, {x:5, y:6}, {x:1, y:25}, {x:11, y:2}]; 我想知道是否有一种方法可以计算仅包含这些的边界框宽度和高度


RestHighLevelClient 在尝试向 ElasticSearch 发送请求时给出“无法识别的参数”

我正在尝试连接到我的应用程序中的一个本地 ES 系统。以前它是一个不同的集群。最近,我们的 ES 团队将其迁移到启用了基本身份验证的不同集群。我...


另一个模型中的模型列表仅保存列表中所有项目中最后添加的项目

对于 (int x=0; x for (int x=0; x<listaEquipes.length; x++) { await _loadEquipe(listaEquipes[x].id.toString()); TabelaListaEquipes _reg = TabelaListaEquipes(); _reg.equipeId = listaEquipes[x].id.toString(); _reg.equipe = listaAtletaEquipe; //print (_reg.equipe![0].nome.toString()); listaEquipesGeral.add(_reg); } 此型号: class TabelaListaEquipes { String? equipeId; List<TabelaInscricoes>? equipe; TabelaListaEquipes( { this.equipeId, this.equipe}); } 现在我看到最后一个reg保存在列表的所有iten中,为什么? 这就对了: listaEquipesGeral[0].equipe == listEquipesGeral[1].equipe ...仍然添加了最后一项。为什么?? _loadEquipe 函数,它也有效,我已经测试过了, List<TabelaInscricoes> listaAtletaEquipe = []; Future<void> _loadEquipe(equipId) async { setState(() { listaAtletaEquipe.clear(); carregandoEquipe = true; }); TabelaInscricoes _result = TabelaInscricoes(); CollectionReference _dbCollection = FirebaseFirestore.instance.collection('campeonatos').doc(resultSelect.campId).collection('divisoes').doc(resultSelect.divId).collection('equipes').doc(equipId).collection('atletas'); await _dbCollection.orderBy('pos2', descending: false).get().then((QuerySnapshot querySnapshot) async { if (querySnapshot.docs.isNotEmpty) { querySnapshot.docs.forEach((element) async { _result = TabelaInscricoes.fromJson(element.data()! as Map<String, dynamic>); if (_result.campId == resultSelect.campId && _result.divId == resultSelect.divId) { _result.id = element.id; _result.filePath = ""; setState(() { listaAtletaEquipe.add(_result); }); } }); for (int x = 0; x<listaAtletaEquipe.length; x++) { for (int y = 0; y<listaAtletas.length; y++) { if (listaAtletaEquipe[x].atletaId.toString() == listaAtletas[y].id.toString()) { setState(() { listaAtletaEquipe[x].nome = listaAtletas[y].nome; listaAtletaEquipe[x].fotoNome = listaAtletas[y].fotoNome; listaAtletaEquipe[x].filePath = listaAtletas[y].filePath; listaAtletaEquipe[x].dataN = listaAtletas[y].dataN; listaAtletaEquipe[x].fone1 = listaAtletas[y].fone1; listaAtletaEquipe[x].fone2 = listaAtletas[y].fone2; listaAtletaEquipe[x].nTitulo = listaAtletas[y].nTitulo; listaAtletaEquipe[x].info = listaAtletas[y].info; listaAtletaEquipe[x].email = listaAtletas[y].email; }); } } } for (int x=0; x<listaAtletaEquipe.length; x++) { if (listaAtletaEquipe[x].fotoNome.toString().isNotEmpty) { await MyStorage.getUrl(context, "atletas/${listaAtletaEquipe[x].fotoNome.toString()}").then((value) { setState(() { listaAtletaEquipe[x].filePath = value; }); }); } } setState(() { carregandoEquipe = false; }); }else { setState(() { carregandoEquipe = false; }); } }); } AtletaEquipes 型号操作系统列表: class TabelaInscricoes{ bool? carregando = true; String? id; String? campId; String? divId; String? atletaId; String? nome_responsavel; String ?posicao; String? filePath; Uint8List? imageFile; String? usuario; String? nInscricao; String? nome; String? dataN; String? nTitulo; String? fone1; String? fone2; String? info; String? email; String? fotoNome; String? pos2; String? selected; TabelaInscricoes({ this.carregando, this.nome, this.dataN, this.nTitulo, this.fone1, this.fone2, this.info, this.email, this.id, this.campId, this.divId, this.posicao, this.nome_responsavel, this.nInscricao, this.atletaId, this.selected, this.pos2, this.fotoNome, this.filePath, this.imageFile, this.usuario}); Map<String, dynamic> toJson() => { 'campId': campId, 'divId': divId, 'atletaId': atletaId, 'nome_responsavel': nome_responsavel, 'posicao': posicao, 'usuario': usuario, 'nInscricao': nInscricao, 'pos2': pos2, 'selected': selected }; TabelaInscricoes.fromJson(Map<String, dynamic> json) : campId = json['campId'], divId = json['divId'], atletaId = json['atletaId'], nome_responsavel = json['nome_responsavel'], posicao = json['posicao'], nInscricao = json['nInscricao'], pos2 = json['pos2'], selected = json['selected'], usuario = json['usuario']; } 这里发生了什么,listaEquipesGeral 总是保存最后添加的所有项目。 我明白了,解决方案是在模型内的列表中逐项添加: for (int x=0; x<listaEquipes.length; x++) { await _loadEquipe(listaEquipes[x].id.toString()); TabelaListaEquipes _reg = TabelaListaEquipes(); _reg.equipeId = listaEquipes[x].id.toString(); _reg.equipe = []; //here above the solution, include for to put item by item, and it works for (int y = 0; y<listaAtletaEquipe.length; y++) { _reg.equipe!.add(listaAtletaEquipe[y]); } //print (_reg.equipe![0].nome.toString()); listaEquipesGeral.add(_reg); }


< on unary numbers in Dafny

我无法使用 Dafny 证明以下内容: S(x) < S(y) ==> x < y for the datatype of unary numbers with constructors Z and S (here I am only using S). I tried forms of induct...


流程图 - Python

我需要为给定的流程图编写一个程序 我的代码: x,y,d=列表(map(int,input().split())) 温度=0 而 x<=y: x=temp while temp>0: 如果温度%10==d: ...


python-即使我设置了它也找不到“环境变量”

在 Ubuntu 操作系统上,我使用 sudo nano ~/.bashrc 添加“环境变量” 导出x='***' 然后源~/.bashrc 然后重新启动 那么Python代码是: x = force_str(os.environ['x']) 打印(x) 但是一个错误...


有没有办法确定日志的优先级并将其发送到elasticsearch,以优化服务器上的日志负载

需要读取我的环境中所有应用程序日志中的严重、错误和警告。如果在 1000 次警告后发生严重情况,我希望 Logstash 立即发送它,并给予较高的优先级......


DolphinDB中move函数结果的问题

x=3 9 5 1 4 9; 索引 = (第二(08:20:00)+1..4) 加入 08:21:01 加入 08:21:02 x = 索引.indexedSeries(x) 移动(x,3s) 为什么 move 函数对于时间戳 8:21:01 和 8:21:02 返回 1,不是吗


SELECT unique,摆脱位图堆扫描

鉴于表格 创建表a(x int, y int); 在 a(x, y) 上创建索引 a_x_y; 我希望像 select unique x from a where y = 1 这样的查询仅使用索引,而不是使用索引...


反转链式地图?

函数式编程中一个非常常见的模式是将一系列调用链接到列表上的映射。一个人为的简单例子: [1; 2; 3] |> List.map (fun x -> x + 1) |> List.map (fun x -> ...


如何解析多个目录中的文件

我有一个从多个目录解析文件(查找特定设置“X”)的项目。下面的代码片段可以工作 开关(寻找X) { 案例“X”: { //解析fi...


Cuda Tensor Core:矩阵大小仅为 16x16

我有这个非常简单的代码来将两个矩阵与 Cuda Tensor Core 相乘 constexpr int M = 16; constexpr int N = 16; constexpr int K = 16; /* * 矩阵 A = M x N,B = N x K,C = M x K => ...


“const int*”类型的值不能用于初始化“int* const”类型的实体

我在 vs 2022 社区版本上有 c++ 代码。 导入标准; int main() { constexpr int x = 10; constexpr int* p = &x; } 我不允许将 x 的地址分配给 p


包级功能

以下输出“2”。这是为什么?它不应该递归并打印“210”吗? 包主 var f = func(x int) {} 函数酒吧(){ f := func(x int) { ...


Php、ZipArchive 删除空文件?

这是我写的一些代码: file_put_contents('a.upl', ''); 尝试 { $x = new \ZipArchive(); $x->open('a.upl'); } catch(\异常$e) { 回声 $e->getMessage(); } 它抛出一个 ZipA...


1-(x/y)方程让人头疼

我在 x87 ASM 中有两个问题需要解决,我对此有点困惑,有人可以提出一些想法吗? 方程:1-(x/y) 背景:X和Y始终是正浮点数,但是r...


为什么我的代码在 R ggplot geom_col 上没有堆栈条?

我认为这是一个简单的语法,但我的代码不会堆叠条形图。 数据.frame(x = c('a', 'b', 'c'), y = c(.549, .051, .4)) %>% ggplot(aes(x = x, y = y)) + geom_col(位置 = ...


仅使用 x,y 坐标的 SVG 线性路径动画

当我们需要闭合路径或多边形时,这个codepen工作正常,我有一组x和y坐标,我想编写一个函数来根据x和y坐标创建完整路径....


反应虚拟化表X滚动

是否可以在react-virtualized中设置x滚动?我有一个固定宽度的表格,要显示的列比表格中的空间多,所以我需要一个 x-scrollinig。在我的测试中,如果我这样做...


© www.soinside.com 2019 - 2024. All rights reserved.