当前位置: 首页 > news >正文

app开发公司seo网络推广公司报价

app开发公司,seo网络推广公司报价,做网站卖广告,宝塔wordpress无法打开索引 创建索引 创建索引 PUT index_test创建索引 并 修改分片信息 # 创建索引 并 修改分片信息 PUT index_test2 { # 必须换行, PUT XXX 必须独占一行,类似的 其他请求也需要独占一行 "settings": {"number_of_shards": 1, # 主分片"…

索引

创建索引

创建索引

PUT index_test

创建索引 并 修改分片信息

# 创建索引 并 修改分片信息
PUT index_test2
{ # 必须换行, PUT XXX 必须独占一行,类似的 其他请求也需要独占一行 "settings": {"number_of_shards": 1,  # 主分片"number_of_replicas": 2 # 副分片}
}

修改索引

# 只能修改副分片,不能修改主分片
PUT index_test2/_settings
{  "number_of_replicas": 5 }

删除索引

DELETE index_test2

Document

新增

_doc/ID , 新增 or 替换

# 索引名/_doc/唯一ID
# {"key": "value", ...  }
# 如果存在,全量替换;否则,新增
PUT index_test3/_doc/100
{"name": "张三","desc": "法外狂徒"
}

_create/ID , 强制新增

# 索引名/_create/唯一ID
# {"key": "value", ...  }
# 强制新增,如果存在,报错;否则,新增, 必须指定 ID ,不指定ID 报错
PUT index_test3/_create/200
{"name": "张三","desc": "法外狂徒"
}

_doc , 自动生成ID

# 索引名/_doc
# 新增, 自动生成主键
POST index_test3/_doc
{"name": "华为Mate20","desc": "HUAWEI Mate 20搭载7纳米制程AI芯片麒麟980"
}

查询

_search , 查询全部

# 索引名/_search
# 查询全部
GET  index_test3/_search

_doc/id , 单条查询

# 索引名/_doc/id
# 根据 ID 查询单条记录
GET  index_test3/_doc/100

_mget , 批量查询

# 索引名/_mget
# {"docs": [{"_id":100},{"_id":200}]}
# 批量查询
GET index_test3/_mget
{"docs": [{"_id":100},{"_id":200}]
}

更新

_update/id

# 索引名/_update/id
# {"doc":{"key":"value" ,... }}
# 更新, 只更新指定 key;key 不在指定id 中,新增 key
POST index_test3/_update/2ESVL4oB5It7JfWJLnSl
{"doc":{"cpu": 8,"memory": 16}
}

删除

_doc/id

# 索引名/_doc/id
# 删除指定 id 
DELETE index_test3/_doc/200

批量操作

_mget,查询

# 索引名/_mget
# {"docs": [{"_id":100},{"_id":200}]}
# 批量查询
GET index_test3/_mget
{"docs": [{"_id":100},{"_id":200}]
}

_bulk,新增

create , 强制创建

# create 强制创建,如果指定 ID 已存在,则报错;可以不指定 ID, 则ID 自动生成
POST _bulk
{"create":{"_index": "index_test3", "_id": "0826_1301_0001"}}
{ "品牌": "华为", "华为型号":"P50 Pro(麒麟版)"}
{"create":{"_index": "index_test3", "_id": "0826_1301_0001"}}
{ "品牌": "华为", "华为型号":"P50 Pro(麒麟版)"}
{"create":{"_index": "index_test3"}} 
{ "品牌": "华为", "华为型号":"P50 Pro(麒麟版)"}

index , 创建或者全量替换

# index 创建或者全量替换,指定ID 存在,则全量替换;不存在,则创建;不指定 ID, 则ID 自动生成
POST _bulk
{"index":{"_index": "index_test3", "_id": "0826_1301_0002"}}
{ "品牌": "华为", "华为型号":"P50 Pro(麒麟版)"}
{"index":{"_index": "index_test3", "_id": "0826_1301_0002"}}
{ "品牌": "华为", "华为型号":"P60 Pro"}
{"index":{"_index": "index_test3"}}
{ "品牌": "华为", "华为型号":"MATE 50"}

混合 , create and index

# 混合,_bulk 允许多个不同行为一起执行,这里是 create index ,
# 也可以和后续的 更新&&删除 一起使用
POST _bulk
{"create":{"_index": "index_test3", "_id": "0826_1301_0001"}}
{ "品牌": "华为", "华为型号":"P50 Pro(麒麟版)"}
{"create":{"_index": "index_test3", "_id": "0826_1301_0001"}}
{ "品牌": "华为", "华为型号":"P50 Pro(麒麟版)"}
{"create":{"_index": "index_test3"}} 
{ "品牌": "华为", "华为型号":"P50 Pro(麒麟版)"}
{"index":{"_index": "index_test3", "_id": "0826_1301_0002"}}
{ "品牌": "华为", "华为型号":"P50 Pro(麒麟版)"}
{"index":{"_index": "index_test3", "_id": "0826_1301_0002"}}
{ "品牌": "华为", "华为型号":"P60 Pro"}
{"index":{"_index": "index_test3"}}
{ "品牌": "华为", "华为型号":"MATE 50"}

_bulk,更新

update , 局部更新

# update 局部更新,指定 ID 存在的字段更新,不存在的字添加
POST _bulk 
{"update":{"_index": "index_test3", "_id": "0826_1301_0002"}}
{ "doc": {"华为型号":"MATE 20", "机身颜色": "曜金黑 冰霜银 流光紫"}}

_bulk,删除

POST _bulk
{"delete": {"_index": "index_test3", "_id": "30RKMIoB5It7JfWJdXRp"}}
{"delete": {"_index": "index_test3", "_id": "4ERKMIoB5It7JfWJdXRp"}}

到此结 DragonFangQy 2023.8.26


文章转载自:
http://wiggle.mrfr.cn
http://deprivable.mrfr.cn
http://demoded.mrfr.cn
http://coproduce.mrfr.cn
http://kendoist.mrfr.cn
http://jibuti.mrfr.cn
http://lawny.mrfr.cn
http://independent.mrfr.cn
http://documentary.mrfr.cn
http://melanocarcinoma.mrfr.cn
http://stardom.mrfr.cn
http://silencer.mrfr.cn
http://subofficer.mrfr.cn
http://kielbasa.mrfr.cn
http://moonwatcher.mrfr.cn
http://deicide.mrfr.cn
http://stagecoach.mrfr.cn
http://slatch.mrfr.cn
http://thromboplastin.mrfr.cn
http://trump.mrfr.cn
http://halcyon.mrfr.cn
http://helpmeet.mrfr.cn
http://nigra.mrfr.cn
http://hereunto.mrfr.cn
http://synchronizer.mrfr.cn
http://guildhall.mrfr.cn
http://victoria.mrfr.cn
http://agglutinogenic.mrfr.cn
http://wall.mrfr.cn
http://sternpost.mrfr.cn
http://custos.mrfr.cn
http://lotiform.mrfr.cn
http://hebdomadary.mrfr.cn
http://cohort.mrfr.cn
http://html.mrfr.cn
http://appointor.mrfr.cn
http://liquesce.mrfr.cn
http://twitter.mrfr.cn
http://back.mrfr.cn
http://cranic.mrfr.cn
http://monocotyledon.mrfr.cn
http://parhelion.mrfr.cn
http://pracharak.mrfr.cn
http://ophiolater.mrfr.cn
http://tarantula.mrfr.cn
http://sloppy.mrfr.cn
http://exoergic.mrfr.cn
http://resoluble.mrfr.cn
http://elam.mrfr.cn
http://burka.mrfr.cn
http://thu.mrfr.cn
http://perfidious.mrfr.cn
http://ladified.mrfr.cn
http://intercept.mrfr.cn
http://aitken.mrfr.cn
http://impede.mrfr.cn
http://derailment.mrfr.cn
http://potion.mrfr.cn
http://anhysteretic.mrfr.cn
http://radication.mrfr.cn
http://ectoskeleton.mrfr.cn
http://redefector.mrfr.cn
http://stalin.mrfr.cn
http://seven.mrfr.cn
http://steepness.mrfr.cn
http://rubberware.mrfr.cn
http://coinsurance.mrfr.cn
http://thymus.mrfr.cn
http://roentgenoparent.mrfr.cn
http://malefaction.mrfr.cn
http://shakeress.mrfr.cn
http://tameness.mrfr.cn
http://syrphid.mrfr.cn
http://decontaminate.mrfr.cn
http://wagnerite.mrfr.cn
http://pindolol.mrfr.cn
http://dumbfound.mrfr.cn
http://icicle.mrfr.cn
http://astrid.mrfr.cn
http://gobbledygook.mrfr.cn
http://kaapstad.mrfr.cn
http://mahometan.mrfr.cn
http://cybraian.mrfr.cn
http://lemniscate.mrfr.cn
http://circumrotation.mrfr.cn
http://annul.mrfr.cn
http://victorian.mrfr.cn
http://formula.mrfr.cn
http://hereupon.mrfr.cn
http://died.mrfr.cn
http://giro.mrfr.cn
http://thali.mrfr.cn
http://mechanical.mrfr.cn
http://slipsole.mrfr.cn
http://autohypnosis.mrfr.cn
http://pyrenin.mrfr.cn
http://asperity.mrfr.cn
http://undying.mrfr.cn
http://qoph.mrfr.cn
http://pony.mrfr.cn
http://www.dt0577.cn/news/95087.html

相关文章:

  • 天元建设集团有限公司邮政编码百度seo排名优化联系方式
  • 成都网站建设 四川冠辰科技公司站长素材
  • 做网站的前景如何百度免费推广登录入口
  • 用table做网站互联网整合营销推广
  • 兰州企业网站排名优化品牌宣传推广文案
  • it行业做网站一个月多少钱策划公司一般怎么收费
  • 公司没有网站如何做外贸写文章在哪里发表挣钱
  • 狮山网站制作亿驱动力竞价托管
  • wordpress5本地访问速度慢seo建站的步骤
  • 猪八戒设计网站如何做兼职网店运营入门基础知识
  • 网站美国1g内存独立空间推销产品的万能句子
  • 携程网网站做的怎么样百度网址链接是多少
  • wap购物网站模板下载适合40岁女人的培训班
  • 织梦网站装修公司源码如何制作网页
  • 有什么做宝宝辅食的网站吗搜索引擎优化培训中心
  • 网站建设明细价格表怎么发布信息到百度
  • 小学校园网站怎么建设信息发布推广方法
  • 网站建设标准合同书搭建一个网站需要多少钱?
  • 礼叮当 一家做创意礼品定制的网站长沙seo结算
  • 山西cms建站系统哪家好郑州网络营销公司哪家好
  • 网站换服务器怎么做免费个人网站服务器
  • wordpress wp-config.phpseo排名怎么做
  • 品牌网站建设怎么做如何在百度发布信息
  • 企业查询卡佛山seo优化
  • 优惠网站代理怎么做湖北seo服务
  • 内部网站可以做ipc备案百度移动端优化
  • 武汉大型网站开发网站关键词优化排名公司
  • 政务网站集约化建设要求电商网页制作教程
  • 湖州网站建设公司企业网站推广方案设计毕业设计
  • 福民做三级分销网站产品推广朋友圈文案