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

双公示 网站专栏建设黄陂区建设局网站

双公示 网站专栏建设,黄陂区建设局网站,如何做网站搭建api接口,自学网课程设置首发博客地址 首发博客地址[1] 系列文章地址[2] 教学视频[3] 为什么要学习 ES? 强大的全文搜索和检索功能#xff1a;Elasticsearch 是一个开源的分布式搜索和分析引擎#xff0c;使用倒排索引和分布式计算等技术#xff0c;提供了强大的全文搜索和检索功能。学习 ES 可以掌… 首发博客地址 首发博客地址[1] 系列文章地址[2] 教学视频[3] 为什么要学习 ES? 强大的全文搜索和检索功能Elasticsearch 是一个开源的分布式搜索和分析引擎使用倒排索引和分布式计算等技术提供了强大的全文搜索和检索功能。学习 ES 可以掌握如何构建复杂的查询、使用各种过滤器和聚合操作来优化搜索结果。 实时数据分析和处理ES 支持实时数据的索引和查询可用于处理大规模的实时数据。学习 ES 可以了解如何使用 ES 进行实时数据的分析和处理包括日志分析、事件处理、实时监控等。 分布式存储和扩展性ES 是一个分布式系统可以将数据分布在多个节点上以提高存储容量和查询性能。学习 ES 可以帮助了解如何搭建和管理分布式 ES 集群以及如何优化集群的性能和可靠性。 文档导入和处理ES 支持各种数据源的导入和处理包括数据库、文件、API 等。学习 ES 可以掌握如何将不同数据源的数据导入到 ES 中并进行相应的处理和转换。 日志分析和搜索引擎优化ES 在日志分析和搜索引擎优化方面有很大的应用价值。学习 ES 可以学会如何利用 ES 进行日志的实时分析和搜索以及如何优化搜索引擎的性能和相关性。 全文搜索引擎的开发和应用ES 是一个非常流行的全文搜索引擎许多企业和项目都在使用 ES 构建全文搜索功能。学习 ES 可以提供开发全文搜索引擎的技能和经验为职业发展增添竞争力。 总结起来大概就是 分布式搜索引擎 大数据实时分析引擎 官网 官网地址[4] ES 发展历史 Elasticsearch (ES)的发展历史可以追溯到 2004 年当时 Shay Banon 创建了一个名为 Compass 的开源项目作为一个基于 Lucene 的全文搜索引擎库。 随着时间的推移Compass 逐渐发展成为一个独立的搜索引擎但在 2009 年Shay Banon 决定重新设计和重构该项目以解决一些困扰他的设计和架构问题。于是他创建了一个新的项目命名为elasticsearch并于 2010 年开源发布。 以下是 ES 的主要发展里程碑 2010 年Elasticsearch 首次开源发布。它基于 Apache Lucene 构建提供了一个分布式搜索和分析引擎用于实时数据的索引和查询。 2013 年Elasticsearch 正式成为 Elastic 公司的核心产品并开始受到广泛关注和采用。此时Elasticsearch 已经成为开源搜索引擎的领导者之一。 2014 年Elasticsearch 发布了 1.0 版本这是一个重要的里程碑标志着 ES 的稳定性和成熟度。1.0 版本引入了一些重要的特性和改进如聚合操作和索引别名等。 2015 年Elasticsearch 发布了 2.0 版本引入了许多重要的功能和改进包括复合索引、文档级别的更新和删除、分布式索引排序等。 2016 年Elasticsearch 发布了 5.0 版本这是一个重要的版本发布引入了许多重大的改进和变化。5.0 版本引入了新的分布式文档存储方式并且废弃了一些旧的功能和 API。 2019 年Elasticsearch 发布了 7.0 版本这是一个重要的版本发布引入了许多重要的功能和改进。7.0 版本引入了 Elasticsearch 的新分布式协调引擎称为Zen 2以提高集群的稳定性和性能。 2022 年Elasticsearch 发布了 8.0 版本这是一个重要的版本发布引入了许多重要的功能和改进。原生支持 NLP速度、扩展和检索相关性提升通过原生矢量搜索提高搜索相关性默认开启安全功能 随着时间的推移Elasticsearch 不断发展壮大成为一个功能强大、可靠性高的分布式搜索和分析引擎。它被广泛应用于各种场景包括日志分析、实时数据处理、全文搜索和商业智能等。并且Elastic 公司也推出了其他产品如 Kibana、Logstash 和 Beats 等构建了一个完整的数据分析和可视化平台被称为Elastic Stack或ELK Stack。 去官网上瞄了一眼还支持 GPT 了..牛逼大概看了文章说的是通过插件可以访问 ES 内容厉害了有兴趣可以点击下面链接看看 【ChatGPT】Elasticsearch 插件将 ChatGPT 引入 Elasticsearch[5] 安装虚拟机 如果你是本地练习可以参考这篇文章安装 Linux 系统环境 https://blog.zysicyj.top/4e7b516e[6] 环境兼容性检查 这里一定要确认好 jdk 版本比如 8.8 支持 jdk198.9 不支持 jdk19但是所有 8.x 都是支持 17 的因为 17 是 LTS 版本。 所以建议大家安装 jdk17兼容性比较高 兼容性检查[7] 准备安装包 官网下载https://www.elastic.co/cn/downloads/elasticsearch[8] 关注【程序员朱永胜】回复【1021】不限速下载 安装 es yum install elasticsearch-8.9.1-x86_64.rpm systemctl daemon-reloadsystemctl enable elasticsearch.service 修改配置文件 #  Elasticsearch Configuration ## NOTE: Elasticsearch comes with reasonable defaults for most settings.#       Before you set out to tweak and tune the configuration, make sure you#       understand what are you trying to accomplish and the consequences.## The primary way of configuring a node is via this file. This template lists# the most important settings you may want to configure for a production cluster.## Please consult the documentation for further information on configuration options:# [https://www.elastic.co/guide/en/elasticsearch/reference/index.html](https://www.elastic.co/guide/en/elasticsearch/reference/index.html https://www.elastic.co/guide/en/elasticsearch/reference/index.html)## ---------------------------------- Cluster -----------------------------------## Use a descriptive name for your cluster:#cluster.name: my-application## ------------------------------------ Node ------------------------------------## Use a descriptive name for the node:#node.name: node-1## Add custom attributes to the node:##node.attr.rack: r1## ----------------------------------- Paths ------------------------------------## Path to directory where to store the data (separate multiple locations by comma):#path.data: /var/lib/elasticsearch## Path to log files:#path.logs: /var/log/elasticsearch## ----------------------------------- Memory -----------------------------------## Lock the memory on startup:##bootstrap.memory_lock: true## Make sure that the heap size is set to about half the memory available# on the system and that the owner of the process is allowed to use this# limit.## Elasticsearch performs poorly when the system is swapping the memory.## ---------------------------------- Network -----------------------------------## By default Elasticsearch is only accessible on localhost. Set a different# address here to expose this node on the network:#network.host: 0.0.0.0## By default Elasticsearch listens for HTTP traffic on the first free port it# finds starting at 9200. Set a specific HTTP port here:#http.port: 9200## For more information, consult the network module documentation.## --------------------------------- Discovery ----------------------------------## Pass an initial list of hosts to perform discovery when this node is started:# The default list of hosts is [127.0.0.1, [::1]]##discovery.seed_hosts: [host1, host2]## Bootstrap the cluster using an initial set of master-eligible nodes:##cluster.initial_master_nodes: [node-1, node-2]## For more information, consult the discovery and cluster formation module documentation.## ---------------------------------- Various -----------------------------------## Allow wildcard deletion of indices:##action.destructive_requires_name: false#----------------------- BEGIN SECURITY AUTO CONFIGURATION -----------------------## The following settings, TLS certificates, and keys have been automatically# generated to configure Elasticsearch security features on 31-08-2023 09:48:01## --------------------------------------------------------------------------------# Enable security featuresxpack.security.enabled: falsexpack.ml.enabled: falsexpack.security.enrollment.enabled: true# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agentsxpack.security.http.ssl:  enabled: false  keystore.path: certs/http.p12# Enable encryption and mutual authentication between cluster nodesxpack.security.transport.ssl:  enabled: false  verification_mode: certificate  keystore.path: certs/transport.p12  truststore.path: certs/transport.p12# Create a new cluster with the current node only# Additional nodes can still join the cluster latercluster.initial_master_nodes: [localhost.localdomain]# Allow HTTP API connections from anywhere# Connections are encrypted and require user authenticationhttp.host: 0.0.0.0# Allow other nodes to join the cluster from anywhere# Connections are encrypted and mutually authenticated#transport.host: 0.0.0.0#----------------------- END SECURITY AUTO CONFIGURATION ------------------------- 启动并校验 es systemctl start elasticsearch systemctl status elasticsearch 出现这个画面基本是没问题了 [rootlocalhost elasticsearch]# curl -X GET http://localhost:9200/{  name : node-1,  cluster_name : my-application,  cluster_uuid : XAGRLef2SayyXzuNHPgX2Q,  version : {    number : 8.9.1,    build_flavor : default,    build_type : rpm,    build_hash : a813d015ef1826148d9d389bd1c0d781c6e349f0,    build_date : 2023-08-10T05:02:32.517455352Z,    build_snapshot : false,    lucene_version : 9.7.0,    minimum_wire_compatibility_version : 7.17.0,    minimum_index_compatibility_version : 7.0.0  },  tagline : You Know, for Search} 参考资料 [1] 首发博客地址: https://blog.zysicyj.top/ [2] 系列文章地址: https://blog.zysicyj.top/categories/技术文章/后端技术/系列文章/ES/ [3] 教学视频: https://www.ixigua.com/7273889957465293368?logTag89ff41ffd92c090eb176 [4] 官网地址: https://www.elastic.co/cn/ [5] 【ChatGPT】Elasticsearch插件将ChatGPT引入Elasticsearch: https://www.elastic.co/cn/blog/chatgpt-elasticsearch-plugin-elastic-data [6] https://blog.zysicyj.top/4e7b516e: https://blog.zysicyj.top/4e7b516e [7] 兼容性检查: https://www.elastic.co/cn/support/matrix#matrix_jvm#enterprise-search-and-jvm [8] https://www.elastic.co/cn/downloads/elasticsearch: https://www.elastic.co/cn/downloads/elasticsearch 本文由 mdnice 多平台发布
http://www.yutouwan.com/news/81058/

相关文章:

  • 网站建设与运营固定资产jsp 数据库做网站
  • 网站到底是域名需要备案还是空间做网站的主要作用
  • 程序员和网站建设网页设计考试
  • seo整站优化方案番禺24小时核酸检测
  • 自己做都网站怎么发朋友圈保定高端网站建设
  • 网站建设代码实例网站开发和合同范本
  • 合肥建设网官方网站在线制作网站的工具
  • 广州网站建设专注乐云seo建设银行网络平台
  • 大型企业网站源码wordpress 管理员权限设置密码
  • 网站站内链接百度联系方式
  • 湖北微网站建设多少钱中国海员建设工会网站
  • 开封市做网站的公司在线制作国庆头像
  • 网站的主要内容淘宝联盟网页版
  • 统一门户网站南昌p2p网站建设公司
  • 最好的淘宝网站建设wordpress 栏目分页
  • 公司网站建设一条龙可以免费打开网站的软件下载
  • 如何选择丹阳网站建设培训好吗网站建设
  • 阿里云网站建设 部署与发布答案上海远东建筑设计院
  • 用插件做的炫酷网站凡科做网站关键词
  • 旅游网网站的设计做网站在什么地方发帖子呢
  • 东营网签查询系统官方网站2022今天出京入京最新通知
  • 威海建设集团招聘信息网站ie浏览器哪个做网站稳定
  • 保健品网站建设流程开化网站建设
  • 做财经类新闻的网站郑州网络公司哪个最好
  • 江苏省招投标办法建设厅网站游戏公司网站模板
  • 微生成网站php 网站开发缓存有那几种
  • 石家庄网站建设王道下拉棒eclipse怎么做网页
  • 网站样式侵权公司做网站流程流程
  • 佛山网站开发公司有哪些wordpress首页显示文章列表
  • sns网站建设哪家公司好烟台网站推广排名