elasticsearch
文章平均质量分 67
小小菜鸟呀
在去往大神的路上
展开
-
ElasticSearch(三)
ES仿京东搜索 爬取京东数据 public class HtmlParseUtil { /* public static void main(String[] args) throws IOException { //jsoup不能抓取ajax请求,除非自己模拟浏览器进行请求 String url = "https://search.jd.com/Search?keyword=java"; //解析网页 Document docume原创 2021-11-03 14:18:24 · 1491 阅读 · 0 评论 -
ElasticSearch(一)
ES核心概念 集群、节点、索引、类型、文档、分片、映射 ElasticSearch是面向文档的 Elasticsearch与关系型数据库的对比 Relational DB ElasticSearch 数据库(database) 索引(indices)(类似于数据库) 表(tables) types (8.0即将干掉) 行(rows) documents(文档 json数据) 字段(columns) fields(json数据) es(集群)可以包含多个索引(数据库),每个原创 2021-11-02 10:03:43 · 220 阅读 · 0 评论 -
ElasticSearch(二)
集成SpringBoot https://www.elastic.co/guide/cn/index.html 意外找到了一个中文版的文档,但是文档比较老了 https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/index.html 一般使用高级的 1.找到原生的依赖 <dependency> <groupId>org.elasticsearch.client</groupId&原创 2021-10-29 17:54:11 · 551 阅读 · 0 评论 -
ElasticSearch Kibana安装
内容检索的时候 SQL就用的like %检索内容%;如果大数据量;索引 ElasticSearch、solr:搜索(百度、github、淘宝电商); 分词器 ik RestFul操作 ES CRUD SpringBoot集成 爬虫爬数据 实践 模拟全文检索 Lucene是一套信息检索工具包!jar包!不包含搜索引擎系统! 包含的索引结构!读写索引的工具!排序 搜索工具(精确搜索等) ElasticSearch和Lucene的关系 ElasticSearch是基于Lucene做了一些封装和增强 ...原创 2021-10-15 14:01:47 · 307 阅读 · 0 评论