用的这里的库https://github.com/sinnus/socket.io-cowboy最新的jsx库的api换了修改socketio_data_protocol.erljsx:term_to_json(Msg)改成jsx:encode(Msg)jsx:json_to_term(Data)改...
分类:
其他好文 时间:
2015-01-01 22:29:29
阅读次数:
386
sudo add-apt-repository cloud-archive:junoLong Term SupportHow to Enable and UseThe Cloud Tools archive is only supported on Ubuntu 12.04.Add the repo...
分类:
系统相关 时间:
2014-12-27 13:52:46
阅读次数:
233
本文转载自:http://www.cnblogs.com/forfuture1978/archive/2009/12/14/1623599.html 略有删减和补充四、具体格式上面曾经交代过,Lucene保存了从Index到Segment到Document到Field一直到Term的正向信息,也包括...
分类:
Web程序 时间:
2014-12-23 19:16:50
阅读次数:
287
本文转载自:http://www.cnblogs.com/forfuture1978/archive/2010/02/02/1661436.html,略有删改和备注。四、具体格式4.2. 反向信息反向信息是索引文件的核心,也即反向索引。反向索引包括两部分,左面是词典(Term Dictionary)...
分类:
Web程序 时间:
2014-12-23 18:59:46
阅读次数:
287
检索模型分为两种,一种是boolean model 一种是ranked retrieval一 boolean查找:1 binary decision:is document relevant or not? 文档只有相关和不相关两种,并没有排行2 presence of term is necess...
分类:
其他好文 时间:
2014-12-21 08:08:27
阅读次数:
187
工作中需要分析一些链接,统计分析一些信息。比如如下的链接:
http://lightapplication.xxxx.com/?utm_source=ucweb&utm_medium=cpt&utm_term=zhilian&utm_content=textlink&utm_campaign=nov
这个链接中带有一些参数,这些参数是什么意思呢,一直很好奇,现在需要用到这些信息了,对于网站主,...
分类:
Web程序 时间:
2014-12-17 18:31:39
阅读次数:
1980
提高性能
短语和邻近度查询比简单的match查询在性能上更昂贵。match查询只是查看词条是否存在于倒排索引(Inverted Index)中,而match_phrase查询则需要计算和比较多个可能重复词条(Multiple possibly repeated)的位置。
在Lucene Nightly Benchmarks中,显示了一个简单的term查询比一个短语查询快大概10倍,比一...
分类:
其他好文 时间:
2014-12-17 12:54:34
阅读次数:
290
信号默认操作Term 表示进程会立即结束Core 表示进程会立即结束并进行核心转储(栈跟踪)lgn 表示进程会忽略该信号Stop 表示进程会暂停Cont 表示进程会回复运行信号值动作注释SIGHUP1Term由控制终端或控制进程终止时发出SIGINT2Term来自键盘的...
分类:
其他好文 时间:
2014-12-15 16:54:31
阅读次数:
342
以字段为中心的查询(Field-centric Queries)
上述提到的三个问题都来源于most_fields是以字段为中心(Field-centric),而不是以词条为中心(Term-centric):它会查询最多匹配的字段(Most matching fields),而我们真正感兴趣的最匹配的词条(Most matching terms)。
NOTE
best_fields同...
分类:
其他好文 时间:
2014-12-11 10:26:13
阅读次数:
312
This blog will show you how to retrieve term store, term group, term set and term via JavaScript
1. First, you need understand Managed Metadata Service, it used for storing metadata, and have the dat...
分类:
编程语言 时间:
2014-12-09 14:00:44
阅读次数:
204