![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java学习
文章平均质量分 72
小小菜鸟呀
在去往大神的路上
展开
-
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 评论 -
谨慎使用subList
谨慎使用subList public static void main(String[] args) { List<String> names = new ArrayList<String>(){{add("lucy");add("shancy");add("beibei");}}; List<String> a2 = new ArrayList<String>(); //sublist后会返回Sublist原创 2021-07-27 15:42:42 · 440 阅读 · 0 评论 -
JUC学习From狂神
线程进程 进程 一个进程可包含多个线程,至少包含一个 java默认有两个线程,一个main 一个GC 线程:开了一个写字板的进程,写字,自动保存(线程负责) Java开启线程:Thread、 Runnable 、Callable Java真的可以开启线程吗? 不行 /** * Causes this thread to begin execution; the Java Virtual Machine * calls the <code>run</code>原创 2021-06-21 16:22:54 · 222 阅读 · 0 评论