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