摘要:
1. 建立连接 2. 查询所有数据 3. 等于查询,term与terms 4. 包含查询,match与multi_match 5. ids 6. 复合查询bool bool有3类查询关系,must(都满足),should(其中一个满足),must_not(都不满足) 7. 切片式查询 8. 范围查询 阅读全文
posted @ 2019-11-07 10:05
AAA五金批发王建军
阅读(4894)
评论(1)
推荐(0)
摘要:
from elasticsearch import Elasticsearch import json import time es = Elasticsearch(['es地址:9200'],ignore=[400, 405, 502]) def create_user(plat,gender,b_year,b_month,uni_ids = []): """增数据"""... 阅读全文
posted @ 2019-11-07 10:03
AAA五金批发王建军
阅读(583)
评论(0)
推荐(0)