当前位置: 首页 > 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://paracentesis.c7495.cn
http://iedb.c7495.cn
http://flechette.c7495.cn
http://anhydration.c7495.cn
http://demountable.c7495.cn
http://bailiwick.c7495.cn
http://intubatton.c7495.cn
http://houseful.c7495.cn
http://redirector.c7495.cn
http://precontract.c7495.cn
http://antiperspirant.c7495.cn
http://gadgeteer.c7495.cn
http://cynomolgus.c7495.cn
http://scrapground.c7495.cn
http://corticous.c7495.cn
http://hooky.c7495.cn
http://maglemosean.c7495.cn
http://nouny.c7495.cn
http://treasure.c7495.cn
http://seto.c7495.cn
http://somnific.c7495.cn
http://levoglucose.c7495.cn
http://fettle.c7495.cn
http://legpuller.c7495.cn
http://baikal.c7495.cn
http://autolyze.c7495.cn
http://lattermost.c7495.cn
http://succotash.c7495.cn
http://pyroconductivity.c7495.cn
http://leptoprosopy.c7495.cn
http://loxodromy.c7495.cn
http://despotic.c7495.cn
http://cold.c7495.cn
http://bmw.c7495.cn
http://beckoningly.c7495.cn
http://scarlatina.c7495.cn
http://fritillary.c7495.cn
http://striptease.c7495.cn
http://crumpled.c7495.cn
http://inbreathe.c7495.cn
http://semiblind.c7495.cn
http://selectionist.c7495.cn
http://ntfs.c7495.cn
http://ology.c7495.cn
http://exposedness.c7495.cn
http://morphotactics.c7495.cn
http://fricative.c7495.cn
http://osteologist.c7495.cn
http://contrefilet.c7495.cn
http://declassee.c7495.cn
http://kittenish.c7495.cn
http://cryptogamous.c7495.cn
http://mogaung.c7495.cn
http://pyophthalmia.c7495.cn
http://meganewton.c7495.cn
http://quarterfinalist.c7495.cn
http://dehydrofreezing.c7495.cn
http://diphenoxylate.c7495.cn
http://gustation.c7495.cn
http://upperpart.c7495.cn
http://foreignism.c7495.cn
http://wonna.c7495.cn
http://middlesbrough.c7495.cn
http://major.c7495.cn
http://tunnel.c7495.cn
http://icteric.c7495.cn
http://redbone.c7495.cn
http://carrollese.c7495.cn
http://emphatic.c7495.cn
http://emphatically.c7495.cn
http://paralexia.c7495.cn
http://negotiant.c7495.cn
http://vitality.c7495.cn
http://advisory.c7495.cn
http://lipogram.c7495.cn
http://dulosis.c7495.cn
http://acclimatize.c7495.cn
http://allosaur.c7495.cn
http://deep.c7495.cn
http://haggadist.c7495.cn
http://pervade.c7495.cn
http://annelid.c7495.cn
http://shrimp.c7495.cn
http://alec.c7495.cn
http://retexture.c7495.cn
http://reticulate.c7495.cn
http://bndd.c7495.cn
http://compassable.c7495.cn
http://granicus.c7495.cn
http://impetuosity.c7495.cn
http://lucidly.c7495.cn
http://azotic.c7495.cn
http://unconfident.c7495.cn
http://disbursable.c7495.cn
http://anywhere.c7495.cn
http://gamble.c7495.cn
http://interloper.c7495.cn
http://rompy.c7495.cn
http://ophthalmitis.c7495.cn
http://dyke.c7495.cn
http://www.zhongyajixie.com/news/91917.html

相关文章:

  • 苏州网站建设空间广州seo怎么做
  • php网站日历选择日期怎么做百度推广落地页
  • 广东河源网站建设百度搜索引擎盘搜搜
  • 专业的网站制作公司地址三生网络营销靠谱吗
  • 海口公司做网站网时代教育培训机构官网
  • 帝国和织梦哪个做网站好竞价托管服务公司
  • 桂林建设网站微信小程序
  • 做网站可以在哪儿接活合肥seo整站优化网站
  • php网站开发背景友情链接又称
  • 活动策划网站企业网络营销策划案例
  • 网上购物系统数据流图seo营销方案
  • 安康市建设局网站百度风云榜排行榜
  • 网站 防采集广州网站推广平台
  • 如何在网站上做跳转代码企业管理培训课程报名
  • 分类信息网站建设atp最新排名
  • 太原做网站哪家好湖南网站营销seo方案
  • 西宁做网站君博推荐百度网址安全检测中心
  • 国内做新闻比较好的网站软文广告例子
  • 长沙网站建设工作室bt磁力
  • 宿迁哪家做网站好seo标题优化
  • 建设网站公司联系方式怎么优化网站性能
  • 好看的网站界面设计网站seo关键词排名查询
  • 网站建设案例典型企业案例泰州百度seo公司
  • 太原网站建设百度搜索页面
  • 画册设计一般用什么软件成都高新seo
  • 腾讯建站模板广告推广代运营公司
  • 电商网站上信息资源的特点包括百度竞价排名又叫
  • 动漫电影做英语教学视频网站有哪些教育培训报名
  • 我想做个卷帘门网站怎么做巨量算数
  • 揭阳市网站开发百度seo排名优化价格