NLucene研究系列(10)-Util&Reference

释放双眼,带上耳机,听听看~!

 

Util

Util包含一些数据结构如
BitVector 和PriorityQueue,具体的说明如下表所示:

类名 说明
Arrays 一个关于数组的排序方法的静态类,提供了优化的基于快排序的排序方法sort
BitVector C/C++语言中位域的C#实现
Number 一个数字字母的转化类,定义了ToString()以及Parse()方法
PriorityQueue 一个优先队列的抽象类,用于后面实现各种具体的优先队列,提供常数时间内的最小元素访问能力,内部实现机制是哈析表和堆排序算法

1
1

可以看出
Lucene
的设计相当优秀,大量运用了继承技术、抽象类,在文件的读写是考虑到速度和用内存缓冲数据减少了读取文件的时间消耗,为底层的文件索引建立了基础。

Reference

[1]
   Lucene lecture at
Pisa
    http://lucene.sourceforge.net/talks/pisa/

[2]
   http://www.lunwo.com/article/article_1853_1.html

[3]
搜索引擎学习
http://se.biti.edu.cn/blog/

[4] http://www.matrix.org.cn/resource/article/0/22.html
    

[5] http://lucene.apache.org/java/docs/index.html

[6] http://idior.cnblogs.com/archive/2006/04/27/124373.html

[7] Lucene
中国
     http://www.lucene.com.cn/

[8] http://www.chedong.com/tech/lucene.html

[9] http://lucene.org.cn/thread.php?fid=14

[10] Lucene Wiki

       http://wiki.apache.org/jakarta-lucene/KarlWettin?action=AttachFile&do=view&target=search_uml_1.jpg

给TA打赏
共{{data.count}}人
人已打赏
安全运维

OpenSSH-8.7p1离线升级修复安全漏洞

2021-10-23 10:13:25

安全运维

设计模式的设计原则

2021-12-12 17:36:11

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索