Sphinx SetLimits 解析

2015-08-05
阅读 3 分钟
6.5k
最近在使用sphinx 索引数据的时候, 经常索引不到想要的文档,得到的文档列表并不是最好的结果, 而明显更优的结果并没有显示。在经过查询后, 发现在Sphinx 的 SetLimit 设置上出了问题,我设置了cutoff 参数的值,

Sphinx Ranking Mode(排序模式) (翻译)

2015-03-04
阅读 6 分钟
7.3k
Ranking (aka weighting) of the search results can be defined as aprocess of computing a so-called relevance (aka weight) for everygiven matched document with regards to a given query that matched it.So relevance is in the end just a number attached to every documentthat estimates how relevant the...

Sphinx 单词+数字索引

2015-01-30
阅读 2 分钟
6.8k
比如文档中有一种词,该词包含了字母和数字,比如(onepiece123) 如果一般情况下直接搜索onepiece或者123的时候,你是得不到这个文档的.

Sphinx 配置sql_query_killlist解析

2015-01-20
阅读 1 分钟
3.3k
假设我们有一个主索引main和一个增量索引delta,在主索引创建好后,每隔几分钟就重新创建增量索引(当然增量索引诗基于上一次的main索引创建的节点)。   我们假设在创建main索引的时候以上的文档(2,3,5,7, 11)中都包含"test",在过了一段时间后,增量索引中有一些文档,2,3,5文档被删除了, 7, 11文档被修改了,但11中...

sphinx 笔记(不定期更新)

2015-01-14
阅读 2 分钟
3.2k
Proximity distance is specified in words, adjusted for word count, and applies to all words within quotes 我的理解是匹配出引号内字符之间长度在指定数值范围内的文档。 当然, 如果引号内的字符数量大于后面的数值, 那这个数值也就变得没意义了

sphinx 遇到的错误和解决

2014-11-25
阅读 1 分钟
4k
在进行索引创建的时候,出现了错误 Error: sql_fetch_row: Lost connection to MySQL server during query