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

如何对自己建设的网站进行推广试玩无限刷一天赚500

如何对自己建设的网站进行推广,试玩无限刷一天赚500,wordpress取消categore,做网站用的大图一、聚合的概念 聚合文档 聚合区别于检索,检索是使用一系列条件把文档从es中搜索回来。但是聚合则是在搜索回来的文档的基础上进一步进行处理。 简单来说聚合就是将数据汇总为指标、统计数据或其他分析。聚合可以解决以下几类问题: 我的网站的平均加载…

一、聚合的概念

聚合文档
聚合区别于检索,检索是使用一系列条件把文档从es中搜索回来。但是聚合则是在搜索回来的文档的基础上进一步进行处理。
简单来说聚合就是将数据汇总为指标、统计数据或其他分析。聚合可以解决以下几类问题:

  • 我的网站的平均加载时间是多少?
  • 根据交易量,谁是我最有价值的客户?
  • 在我的网络上,什么会被视为大文件?
  • 每个商品分类有多少件商品?

基本上我们可以看出来,他是一种聚合分析,类似于做报表那样的一个功能。既然是报表分析的话那就离不开一些常见的概念,什么平均值,最大值,什么按照什么分组之后统计每个组里面的数据量这样的功能。在es中支持了三种聚合来实现这些功能。

  • Metric aggregations:指标聚合是根据字段值计算量度(如总和或平均值)的量度聚合。
  • Bucket aggregations:分桶聚合是根据字段值、范围或其他条件将文档分组到存储桶(也称为箱)中。其实你可以对应理解为mysql中的count … group by field1这种。
  • Pipeline aggregations:管道聚合是从其他聚合而不是文档或字段获取输入的管道聚合。这个稍微比上面两个难一点,具体来说就是上面两种的聚合都是把数据检索出来进行分析之类的。但是这个不是直接获取数据分析,他是在上面两个分析之后的结果的基础上进一步分析。他是建立在聚合之上的聚合。
    下面我们就来逐一分析三种聚合的使用,不过在此之前,我们先来构建我们的数据。我们构建的索引是一个衣服的索引,包括分类,名称,价格,品牌,描述,产地这几个字段,并且生成20条数据,这个生成数据直接交给llm即可。比如这样。
    在这里插入图片描述
PUT /clothes
{"settings": {"index": {"number_of_shards": 1,  "number_of_replicas": 0}},"mappings": {"properties": {"category":{"type": "keyword"},"name":{"type": "keyword","fields": {"name_text":{"type": "keyword"}}},"price":{"type": "double"},"brand":{"type": "keyword"},"desc":{"type": "text"},"place_of_origin":{"type": "keyword"}}}
}POST _bulk
{ "index" : { "_index" : "clothes", "_id" : "1" } }
{ "category" : "T-shirt", "name" : "纯棉T恤", "price" : 19.99, "brand" : "品牌A", "desc" : "基础款纯棉T恤,适合日常穿着。", "place_of_origin" : "中国" }
{ "index" : { "_index" : "clothes", "_id" : "2" } }
{ "category" : "Jeans", "name" : "修身牛仔裤", "price" : 49.99, "brand" : "品牌B", "desc" : "耐穿的牛仔裤,修身款式。", "place_of_origin" : "越南" }
{ "index" : { "_index" : "clothes", "_id" : "3" } }
{ "category" : "Dress", "name" : "晚礼服", "price" : 89.99, "brand" : "品牌C", "desc" : "适合特殊场合的优雅晚礼服。", "place_of_origin" : "意大利" }
{ "index" : { "_index" : "clothes", "_id" : "4" } }
{ "category" : "Jacket", "name" : "皮夹克", "price" : 129.99, "brand" : "品牌D", "desc" : "时尚的男士皮夹克。", "place_of_origin" : "美国" }
{ "index" : { "_index" : "clothes", "_id" : "5" } }
{ "category" : "Sweater", "name" : "羊毛衫", "price" : 39.99, "brand" : "品牌E", "desc" : "适合冬季的保暖羊毛衫。", "place_of_origin" : "澳大利亚" }
{ "index" : { "_index" : "clothes", "_id" : "6" } }
{ "category" : "Skirt", "name" : "铅笔裙", "price" : 29.99, "brand" : "品牌F", "desc" : "适合办公室穿着的经典铅笔裙。", "place_of_origin" : "英国" }
{ "index" : { "_index" : "clothes", "_id" : "7" } }
{ "category" : "Shorts", "name" : "休闲短裤", "price" : 14.99, "brand" : "品牌G", "desc" : "适合夏天的舒适休闲短裤。", "place_of_origin" : "中国" }
{ "index" : { "_index" : "clothes", "_id" : "8" } }
{ "category" : "Blouse", "name" : "丝绸衬衫", "price" : 59.99, "brand" : "品牌H", "desc" : "柔软的丝绸衬衫,适合女性。", "place_of_origin" : "法国" }
{ "index" : { "_index" : "clothes", "_id" : "9" } }
{ "category" : "Coat", "name" : "冬季大衣", "price" : 199.99, "brand" : "品牌I", "desc" : "适合寒冷天气的厚冬季大衣。", "place_of_origin" : "加拿大" }
{ "index" : { "_index" : "clothes", "_id" : "10" } }
{ "category" : "Socks", "name" : "棉袜", "price" : 4.99, "brand" : "品牌J", "desc" : "一包舒适的棉袜。", "place_of_origin" : "中国" }
{ "index" : { "_index" : "clothes", "_id" : "11" } }
{ "category" : "T-shirt", "name" : "印花T恤", "price" : 24.99, "brand" : "品牌K", "desc" : "带有酷炫图案的T恤。", "place_of_origin" : "日本" }
{ "index" : { "_index" : "clothes", "_id" : "12" } }
{ "category" : "Jeans", "name" : "破洞牛仔裤", "price" : 59.99, "brand" : "品牌L", "desc" : "带有时尚破洞的牛仔裤。", "place_of_origin" : "美国" }
{ "index" : { "_index" : "clothes", "_id" : "13" } }
{ "category" : "Dress", "name" : "休闲连衣裙", "price" : 79.99, "brand" : "品牌M", "desc" : "适合日常穿着的舒适连衣裙。", "place_of_origin" : "中国" }
{ "index" : { "_index" : "clothes", "_id" : "14" } }
{ "category" : "Jacket", "name" : "风衣", "price" : 69.99, "brand" : "品牌N", "desc" : "轻便的风衣夹克。", "place_of_origin" : "德国" }
{ "index" : { "_index" : "clothes", "_id" : "15" } }
{ "category" : "Sweater", "name" : "针织毛衣", "price" : 44.99, "brand" : "品牌O", "desc" : "手工编织的毛衣。", "place_of_origin" : "英国" }
{ "index" : { "_index" : "clothes", "_id" : "16" } }
{ "category" : "Skirt", "name" : "百褶裙", "price" : 34.99, "brand" : "品牌P", "desc" : "时尚的百褶裙。", "place_of_origin" : "中国" }
{ "index" : { "_index" : "clothes", "_id" : "17" } }
{ "category" : "Shorts", "name" : "牛仔短裤", "price" : 19.99, "brand" : "品牌Q", "desc" : "适合休闲的牛仔短裤。", "place_of_origin" : "美国" }
{ "index" : { "_index" : "clothes", "_id" : "18" } }
{ "category" : "Blouse", "name" : "亚麻衬衫", "price" : 54.99, "brand" : "品牌R", "desc" : "适合夏天的轻薄亚麻衬衫。", "place_of_origin" : "意大利" }
{ "index" : { "_index" : "clothes", "_id" : "19" } }
{ "category" : "Coat", "name" : "风衣", "price" : 149.99, "brand" : "品牌S", "desc" : "经典的风衣。", "place_of_origin" : "英国" }
{ "index" : { "_index" : "clothes", "_id" : "20" } }
{ "category" : "Socks", "name" : "羊毛袜", "price" : 7.99, "brand" : "品牌T", "desc" : "适合冬季的厚羊毛袜。", "place_of_origin" : "澳大利亚" }

此时我们就构建好我们的数据了,后面我们再根据需要做修改等等操作。

好了,此时我们就准备好了,下面我们来进行操作。


文章转载自:

http://BQDcp7Su.Lsmcx.cn
http://O3A6uQiM.Lsmcx.cn
http://wJZN6ruA.Lsmcx.cn
http://L3xtFwTa.Lsmcx.cn
http://PCDrnHpg.Lsmcx.cn
http://SlNitWeY.Lsmcx.cn
http://kL3FVj91.Lsmcx.cn
http://SiGRCYKf.Lsmcx.cn
http://wkk2sQYN.Lsmcx.cn
http://4Ad1Wrmr.Lsmcx.cn
http://BOl6yWEb.Lsmcx.cn
http://lfOGFk1w.Lsmcx.cn
http://lfNI8L7O.Lsmcx.cn
http://Oo1vsLE7.Lsmcx.cn
http://5Dq9WMxd.Lsmcx.cn
http://EldMM9MG.Lsmcx.cn
http://flXDwNCN.Lsmcx.cn
http://PcGB3Lk3.Lsmcx.cn
http://gMI5tKOH.Lsmcx.cn
http://Iytqj6pW.Lsmcx.cn
http://Jmj5yTee.Lsmcx.cn
http://rSN4hdFJ.Lsmcx.cn
http://5iUuQpHe.Lsmcx.cn
http://X7X8PXB3.Lsmcx.cn
http://Gs9uVPSp.Lsmcx.cn
http://IrdDEM5t.Lsmcx.cn
http://E5uNHxg2.Lsmcx.cn
http://FjvhNwYV.Lsmcx.cn
http://fafqF9Co.Lsmcx.cn
http://eUxO0Hj4.Lsmcx.cn
http://www.dtcms.com/wzjs/617435.html

相关文章:

  • 网站建设图片教程线上直播营销策划方案
  • 建立网站目录结构时应该注意哪几个方面个人网页设计模板教程
  • wordpress免费建站吗徐州市制作网站
  • 垫江网站建设网站建设能挣钱
  • php怎么做多个网站六安网站优化
  • 网站设计方案怎么做计算机网站开发参考文献
  • 中山建设网站的公司四川省建设网站建筑电工
  • 大型网站制作小程序网站优化外包费用
  • 长沙企业网站seo石家庄网站制作
  • 松江区网站建设公司电商培训在线课程
  • 做网站做推广3d溜溜网室内设计图库
  • 校友会网站建设方案网站运营这么做
  • 网站建设时应该做的优化百度推广代理公司
  • 濮阳seo网站建设wordpress 建站 pdf
  • 江苏景禾瑜博建设工程有限公司网站深圳 网站设计公司价格
  • 建站有哪些需求公司企业邮箱优势
  • 建设银行网站怎么登陆网站悬浮窗广告
  • zencart 网站从哪个网站设置宽带主机
  • 前端开发培训多少钱百度seo关键词排名技术
  • wap网站制作方案怎么做网页链接跳转
  • 重庆专业网站设计服务一个月捞偏门可挣20万
  • 企业网站开发项目策划书绵阳欣城建设
  • 手机网站建设可行性分析福州在线
  • 做公司网站需要服务器吗财务公司网站建设
  • 有经验的武进网站建设中山建设公司网站
  • 戴尔网站建设成功的关键网站建设后预期推广方式
  • vps上的网站运行太慢深圳建网站一般多少钱
  • 岷县城乡建设局网站网络营销推广seo
  • 邢台信息发布平台seo模拟点击工具
  • 中学生怎么做网站ppt排版布局