It's a fork version from sunspot/sunspot. I upgraded the solr instance from 3.5 to 4.3.1 in order to integrate with MMSeg4j (1.9.1). You can find documents for general usage from sunspot/sunspot page.
這是一個 sunspot/sunspot 的 Fork. 主要更新了 sunspot-solr 內的 solr instance 版本 (自 3.5 至 4.3.1)、調整一些設定以及重新修改 solr 原始碼使它能正常與 MMSeg4j (1.9.1) 整合,以正確的中文處理為目標,這邊會有簡單的設置說明,但如果你想對於 sunspot/sunspot 有更進一步的了解請參考他們的文件。
add below into your Gemfile.
gem 'sunspot_solr', git: '[email protected]:hrs113355/sunspot_solr.git'
Working with sunspot_rails, you can add below
gem 'sunspot_rails', "~> 2.0.0"
or
gem 'sunspot_rails', git: '[email protected]:hrs113355/sunspot_solr.git'
-
To start (background):
rake sunspot:solr:start
-
To run (foreground):
rake sunspot:solr:run
-
To stop:
rake sunspot:solr:stop
For more general usage, please refer sunspot/sunspot.
-
Update solr instance to 4.3.1 (To integrage with MMSeg4j 1.9.1)
-
Forced
mm = 100%
anddefault.Operator=AND
to solve problem with tokenized chinese words indexing and querying. (For more, see #1)
- Default built-in MMSeg4j
- Default configuration for chinese manipulation
- More flexible way to solve tokenized chinese words indexing and querying problem.
Sunspot is distributed under the MIT License, copyright (c) 2008-2013 Mat Brown