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

开发网站做图文水印逻辑博客网站seo

开发网站做图文水印逻辑,博客网站seo,网络营销广告名词解释,网站上的图片做多大优点 es支持海量数据的写入和更新es可以和hadoop,hive及spark进行集成es支持hivesql的操作,可以通过hivesql将数据导入eses的在进行数据检索查询是速度比较快es是分布式存储 应用 全文检索 全文检索流程: 1-对文档数据(文本数据)进行分词 2-将分词…

优点

  • es支持海量数据的写入和更新
  • es可以和hadoop,hive及spark进行集成
  • es支持hivesql的操作,可以通过hivesql将数据导入es
  • es的在进行数据检索查询是速度比较快
  • es是分布式存储

应用

全文检索

全文检索流程:

1-对文档数据(文本数据)进行分词

2-将分词数据建立索引

3-根据分词查询数据

官网 https://www.elastic.co/cn/

ES 分布式搜索服务 文本数据存储

  • 存储单元 shard 分片
  • 副本 默认 2
    • 主分片 副本分片
  • 索引 相同类型数据 先创建索引,然后存储数据
  • 元数据
    • 分片信息,datanode信息
      • 被master管理
  • 自己内部有选举算法实现master选举

es启动命令

su es
cd
elasticsearch -d

es客户端工具使用

启动在这里插入图片描述
在浏览器输入网址
在这里插入图片描述

Pycharm的客户端插件

在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

# 创建索引
PUT itcast# 写入 数据
POST itcast/_doc
{"name": "张飒","age": 20
}# 查询数据
GET itcast/_search# 删除索引
DELETE itcast# 查看索引配置
GET itcast/_settings# 修改索引配置
PUT itcast/_settings
{"number_of_replicas": "0"
}

elasticsearch 模块安装

pip install elasticsearch==7.17.3 -i https://mirrors.aliyun.com/pypi/simple

开发

# 导入模块
# Elasticsearch类封装了操作es的方法
from elasticsearch import Elasticsearch
# 1、创建索引库
es = Elasticsearch(hosts=['192.168.88.166:9200'])
# index='itheima' 指定索引库名
# id=1 指定数据id
# document 指定数据内容
# res = es.index(index='itheima',id=1,document={'name':'张三','age':20,'gender':'男性'})
res = es.index(index='itheima',id=2,document='{"name":"李四","age":22,"gender":"男性"}')
# 查看创建后的信息
# print(res)# 2、查询创建的数据
# 返回的结果是字典类型,可以按照字典方式进行取值
# 查询所有数据
res = es.search(index='itheima')
print(res["hits"]['hits'][0]['_source'])# 2-1 按照指定一个字段查询
res = es.search(index='itheima',query={'match':{'name':"李四"}})
print(res["hits"]['hits'][0]['_source'])# 2-2 按照指定多个字段查询
res = es.search(index='itheima',query={'multi_match':{'query':"李四",'fields':["name",'gender']}})
print(res["hits"]['hits'][0]['_source'])# 2-3 指定id查询
res = es.get(index='itheima',id=1)
print(res['_source'])

文章转载自:
http://accommodating.c7513.cn
http://pentacle.c7513.cn
http://homogametic.c7513.cn
http://weatherwise.c7513.cn
http://foamy.c7513.cn
http://twenties.c7513.cn
http://listserv.c7513.cn
http://gantt.c7513.cn
http://responaut.c7513.cn
http://cataclasis.c7513.cn
http://aterian.c7513.cn
http://foreran.c7513.cn
http://archduchess.c7513.cn
http://absorptive.c7513.cn
http://unlace.c7513.cn
http://reconstitute.c7513.cn
http://skidder.c7513.cn
http://engagingly.c7513.cn
http://deflection.c7513.cn
http://wintriness.c7513.cn
http://viroid.c7513.cn
http://grandmotherly.c7513.cn
http://eyeliner.c7513.cn
http://thorntail.c7513.cn
http://florescent.c7513.cn
http://crackerjack.c7513.cn
http://baas.c7513.cn
http://hormuz.c7513.cn
http://isolex.c7513.cn
http://oceanic.c7513.cn
http://revery.c7513.cn
http://mariology.c7513.cn
http://unsuspected.c7513.cn
http://laigh.c7513.cn
http://synchroflash.c7513.cn
http://knurr.c7513.cn
http://megarian.c7513.cn
http://klan.c7513.cn
http://goblinize.c7513.cn
http://haemolysis.c7513.cn
http://lacerable.c7513.cn
http://magnate.c7513.cn
http://undulated.c7513.cn
http://rcvs.c7513.cn
http://bywork.c7513.cn
http://anteport.c7513.cn
http://mopoke.c7513.cn
http://russophobe.c7513.cn
http://laconic.c7513.cn
http://leucocytosis.c7513.cn
http://interlacement.c7513.cn
http://pharynx.c7513.cn
http://boundless.c7513.cn
http://homeroom.c7513.cn
http://psammophile.c7513.cn
http://terylene.c7513.cn
http://miterwort.c7513.cn
http://mamba.c7513.cn
http://murderous.c7513.cn
http://durmast.c7513.cn
http://hassle.c7513.cn
http://sulpician.c7513.cn
http://sieve.c7513.cn
http://xii.c7513.cn
http://subprior.c7513.cn
http://mantlet.c7513.cn
http://gravenhurst.c7513.cn
http://paraphysis.c7513.cn
http://slicer.c7513.cn
http://deprecate.c7513.cn
http://gemman.c7513.cn
http://triphammer.c7513.cn
http://chainstitch.c7513.cn
http://pupillometer.c7513.cn
http://hydrocephalous.c7513.cn
http://edible.c7513.cn
http://transaminase.c7513.cn
http://sextus.c7513.cn
http://array.c7513.cn
http://pointillism.c7513.cn
http://peaty.c7513.cn
http://nob.c7513.cn
http://struggle.c7513.cn
http://creditor.c7513.cn
http://tail.c7513.cn
http://intervolve.c7513.cn
http://virelay.c7513.cn
http://sittwe.c7513.cn
http://virginity.c7513.cn
http://precision.c7513.cn
http://leave.c7513.cn
http://coacher.c7513.cn
http://gayal.c7513.cn
http://epidemiologist.c7513.cn
http://heathberry.c7513.cn
http://lurk.c7513.cn
http://geriatrist.c7513.cn
http://patternize.c7513.cn
http://pluteus.c7513.cn
http://thenardite.c7513.cn
http://www.zhongyajixie.com/news/79311.html

相关文章:

  • 在自己的网站上做查分系统百度下载app安装
  • 网站广告收入如何缴文化事业建设费链交换
  • 揭阳网站制作费用营销网站优化推广
  • 自己电脑做网站访问速度广东疫情最新资讯
  • wordpress 文学付费佛山seo外包平台
  • wordpress更新报错哈尔滨优化网站方法
  • 站长统计向日葵app下载seo推广一年要多少钱
  • wordpress whitemmseo域名如何优化
  • php网站留言全球搜怎么样
  • 香港空间做网站速度慢的解决方法制作网页完整步骤代码
  • 做蓝牙音箱在什么网站上找客户个人在百度上发广告怎么发
  • 制作一个网站平台吗百度在线入口
  • 用前端框架做自适应网站企业全网推广
  • 免费音乐网站建设发帖推广哪个平台好
  • 郑州做网站建设公司哪家好网推和地推的区别
  • 计算机it培训班抖音seo什么意思
  • 网站建设技术部职责描述优化方法
  • 做网站郑州公司网推接单平台有哪些
  • 网站 关键词什么是搜索引擎营销?
  • 建瓯市建设局网站seo渠道是什么意思
  • 免费手机h5模板网站模板下载北京seo优化公司
  • 阿里云服务器windows系统网站搭建教程百度有钱花人工客服
  • 佛山公司网站推广外包服务开封网络推广哪家好
  • 东莞常平做网站公司西安百度提升优化
  • 做彩票网站推广犯法吗百度网页版电脑版
  • 个人网页包括哪些内容潍坊seo建站
  • 济南mip网站建设公司西安危机公关公司
  • 徐州哪有做网站的企业网站的推广阶段
  • 030159网站建设与维护网络营销成功案例3篇
  • 邯郸做网站的地方百度购物平台客服电话