摘要: 若索引的数据很大的情况下,我们要删除其中的大部分的数据,这样会很耗时,我们可以尝试换另外的办法,先把需要保留的数据迁移到新的index,然后再删除原有的index,因为删除整个index是很快的操作. curl -u elastic:elastic -X POST "192.168.1.134:19 阅读全文
posted @ 2023-08-03 17:39 slnngk 阅读(96) 评论(0) 推荐(0)
摘要: from elasticsearch import Elasticsearch import os, json, urllib, datetime, shutil,random,uuid import time import random from elasticsearch import help 阅读全文
posted @ 2023-08-03 09:11 slnngk 阅读(333) 评论(0) 推荐(0)