sunspot ( [url=https://github.com/sunspot/sunspot]https://github.com/sunspot/sunspot[/url] ) 经过这几年的发展,已经非常完善,在ruby做全文索引属于首选方案,但是原始配置不支持中文分词,我做了一个脚本,可以很方便build一个带mmseg4j ( [url=http://code.google.com/p/mmseg4j/]http://code.google.com/p/mmseg4j/[/url] ) 分词算法的solr server:
[url=https://github.com/quake/sunspot_chinese_example]https://github.com/quake/sunspot_chinese_example[/url]
欢迎反馈.
[url=https://github.com/quake/sunspot_chinese_example]https://github.com/quake/sunspot_chinese_example[/url]
欢迎反馈.