Posts
All the articles I've posted.
httpServerletRequest autowired 原因
Posted on:September 6, 2022 at 06:37 PM### 背景 autowired 默认都是一般都是单例,为什么httpServerletRequest是做到不是单例呢? 堆栈: ``` getRequestAttributes:105,
priority queue
Posted on:September 5, 2022 at 06:16 AM# 背景 lucene 搜索的结果搜索经过soccer算出分数之后,还需要topK取前几个数据,所以需要使用到topk的算法。 一般用优先队列实现。 ## 介绍 下面都是描述最大优先队列 优
Method Reference Expressions
Posted on:August 26, 2022 at 12:49 PM## 背景 了解java 的method reference ### 介绍 [java method reference](https://docs.oracle.com/javas
java static 块
Posted on:August 23, 2022 at 01:35 PM## 背景 记录java的一些简单的语法 ### static 块 [static block](https://docs.oracle.com/javase/specs/jls/se18/j
lucene tim格式
Posted on:August 19, 2022 at 01:50 PM## 背景 `tim`文件是`lucene` 存储词相关统计信息的文件. 与它相关的还有`tip`文件 ## 格式和例子 ### 文件格式: 可以从最下面的相关阅读可以获取对应的文档
paper
Posted on:August 16, 2022 at 09:50 AM# 背景 整理相关经典论文 ### 数据库 #### mvcc [无敌推荐的数据库事务相关pdf](https://www.microsoft.com/en-us/research/wp-co
clickhouse parser
Posted on:July 6, 2022 at 09:11 AMclickhouse 堆栈 ``` (lldb) bt * thread #3, name = 'HTTPHandler', stop reason = breakpoint 1.1 * fr
lucene 10源码分析
Posted on:June 27, 2022 at 10:50 PM## 背景 我家里的电脑的lucene是10版本的 # 创建索引和保存 ``` ### 断点 java -agentlib:jdwp=transport=dt_socket,server=y,ad
cpp基础
Posted on:June 26, 2022 at 04:52 PM## Storage duration 这个是描述变量的生命周期的,分为四类 - automatic: 生命周期在代码块内,在代码块内分配内存,在代码块内析构 - static:生命周期是整个程序。
lucene 编译安装
Posted on:June 19, 2022 at 08:49 PM# 背景 需要编译和了解lucene代码 # 编译 因为lucene锁死了版本,所以要切换成jdk17,我本地是jdk18 ## clone代码 ``` ## clone 代码 git