Home >Backend Development >PHP Tutorial >segmentfault的xunsearch增量索引怎么实现?

segmentfault的xunsearch增量索引怎么实现?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 20:38:251191browse

据说本站segmentfault使用了xunsearch,是怎么样实现增量索引的呢?也就是同步索引。每个问题被提出来后,同时增加到索引内吗?是异步的么?还是定时性写脚本增加索引呢?

回复内容:

据说本站segmentfault使用了xunsearch,是怎么样实现增量索引的呢?也就是同步索引。每个问题被提出来后,同时增加到索引内吗?是异步的么?还是定时性写脚本增加索引呢?

在model层CUD的时候执行xunsearch的索引操作就行。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn