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

前端怎么做自己的博客网站seo网络优化是什么工作

前端怎么做自己的博客网站,seo网络优化是什么工作,上海做网站培训班,wordpress 有空格一 .概念 ILM定义了四个生命周期阶段#xff1a;Hot#xff1a;正在积极地更新和查询索引。Warm#xff1a;不再更新索引#xff0c;但仍在查询。cold#xff1a;不再更新索引#xff0c;很少查询。信息仍然需要可搜索#xff0c;但是如果这些查询速度较慢也可以。Dele…一 .概念 ILM定义了四个生命周期阶段Hot正在积极地更新和查询索引。Warm不再更新索引但仍在查询。cold不再更新索引很少查询。信息仍然需要可搜索但是如果这些查询速度较慢也可以。Delete不再需要该索引可以安全地将其删除 仅仅在 Hot阶段 可以设置 rollover滚动 在实验中可以修改设置来缩短ILM检测时间间隔。ILM定期运行indices.lifecycle.poll_interval默认是10分钟检查索引是否符合策略标准并执行所需的任何步骤 PUT /_cluster/settings{ transient: { indices.lifecycle.poll_interval: 1m } } 参数的设置满足任意一个创建新的索引 HOT WARM Delete 二. 实战 1 .创建生命周期策略模板PUT 请求 http://localhost:9099/_ilm/policy/my_index_rollover_policy max_docs: 5000000 设置超过500万是创建新的索引实际测试可以设置小一点 {policy: {phases: {hot: {actions: {rollover: {max_docs: 5000000},set_priority: {priority: 100}}},warm: {min_age: 30d,actions: {forcemerge: {max_num_segments: 1},shrink: {number_of_shards: 1},allocate: {number_of_replicas: 1},set_priority: {priority: 50}}},cold: {min_age: 90d,actions: {freeze: {},allocate: {require: {type: cold}},set_priority: {priority: 10}}},delete: {min_age: 3650d,actions: {delete: {}}}}} } 2. 创建索引模板日志统计索引 PUT 请求 http://localhost:9099/_template/my_statistic_log {index_patterns: [my_statistic_log-*],settings: {index.number_of_shards: 5,index.number_of_replicas: 1,refresh_interval: 60s,index.lifecycle.name: my_index_rollover_policy,index.lifecycle.rollover_alias: statistic_log_write},aliases: {statistic_log_read: {}},mappings: {log: {dynamic: strict,_field_names: {enabled: false},dynamic_templates: [{date: {match: *Date,mapping: {type: date}}},{strings: {match_mapping_type: string,mapping: {type: keyword}}},{long_or_text: {match: *Time,mapping: {type: date}}},{dataFormat: {match: *Date,mapping: {type: date}}},{timeFormat: {match: *Time,mapping: {type: date}}},{noAnalyzed: {match_mapping_type: string,mapping: {type: keyword}}}],properties: {area: {type: keyword},desc: {type: keyword},hour: {type: integer},day: {type: integer},startTime: {type: date,format: yyyy-MM-dd HH:mm:ss},totalCount: {type: long}}}} } 3.    根据索引模板创建起始索引日志统计索引 put 请求 http://localhost:9099/my_statistic_log-000001 {aliases: {statistic_log_write: {is_write_index: true}} } 4.    查看索引生效GET请求  http://localhost:9099/my_statistic_log-000001/_ilm/explain https://www.elastic.co/guide/en/elasticsearch/reference/6.8/_setting_up_a_new_policy.html
http://www.dnsts.com.cn/news/43647.html

相关文章:

  • 网站建设的目标与思路专业网站制作仪表多少钱
  • 如何建设网站站点做二手货车网站公司
  • h5是什么网站上面做的网站建设合同表(书)
  • 青岛网站开发培训价格温州vi设计公司
  • 兰州网站在哪备案e4a能建设网站吗
  • 诚一网站推广wordpress管理密码修改
  • 酒店网站html网站建设的安全性问题
  • 做网站后端用户用什么写汉语资源建设相关网站
  • wordpress 站点群android studio下载官网
  • 网站如何做攻击防护网站icp备案网址
  • 网站开发前端框架和后端框架廊坊建站软件
  • 四川省工程建设信息网站网站的关键词和描述
  • 网站程序语言江门 网站设计
  • 地方门户网站赚钱一个新的网站怎么做优化
  • 扬中网站建设丰台做网站的公司
  • 网站登录入口网页广药网站建设试题
  • 上海网站搜索引擎优化网站设计软件开发
  • 网站pv多少可以接外包的平台
  • 企业网站排名怎么做平面设计课程标准
  • 长春城乡建设部网站首页四川旅游攻略自由行攻略
  • 宝安中心做网站多少钱页面设计包括插画吗
  • 家用电脑做网站代码软件
  • linux软件开发工具网站建设及seo
  • 设计网站页面好处学院网站建设申请报告
  • 营销型机械网站百度推广是干什么的
  • 电商网站支付方案专业的盐城网站建设
  • 企业交易平台的网站制作多少钱wordpress js版本
  • 大连做网站不错的公司wordpress网站排名
  • 企业网站建设 建立作用免费网站生成器
  • 长沙seo关键词品牌网站建设优化公司哪家好