登录
首页
学习
生活
娱乐
科技
网盘
python自动生成pg数据库表对应的es索引
项目需要用到Es进行查询。手动创建Es索引太麻烦,写了个脚本。 首先需要安装两个库 pip install psycopg2 我使用的es版本是7.10的安装对应版本的elasticsearch库 pip install elasticsearch==7 以下是生成索引代码 import…
2年前
(2024-09-13)
1214
星光
星光下的赶路人
93
文章
1
评论
73132
浏览
搜索
Search
«
2024年9月
»
一
二
三
四
五
六
日
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
标签列表
OCR
(1)
办公
(1)
去广告
(1)
Python
(14)
git
(2)
Django
(10)
大数据
(6)
Es
(1)
web
(7)
原型
(1)
cursor
(1)
人工智能
(12)
工具
(6)
剪映
(1)
视频剪辑
(1)
语音识别
(4)
caddy
(1)
nuitka
(2)
仓颉
(1)
网页自动化
(1)
mysql
(1)
热门阅读
FUNASR语音识别模型训练及使用
1315 浏览
学习
pip命令报错Script file 'D:\conda\Scripts\pip-script.py' is not present.
1138 浏览
学习
使用LiveKit+Qwen2.5+Deepgram搭建智能语音助手
1059 浏览
学习
通过nuitka将django代码进行打包
1014 浏览
学习
通过paddlespeech和ollama搭建本地语音问答助手
923 浏览
学习