I was using acts_as_searchable for one of my project, which uses Hyperestraier in background. Yesterday I decided to use acts_as_solr which uses solr(based on Lucene Java search library). I did all written in its Manual/Readme, but when I issued rake solr:start to start the solr server, it threw a heart breaking “Bad file descriptor” error, although acts_as_solr was working fine on one of my colle
Still playing with Solr/acts_as_solr. The site I'm working on uses will_paginate for pagination. It turned out to be pretty easy to get that working with results from acts_as_solr. The solution is to add a find_all_by_solr method that wraps find_by_solr and returns the records of the returned SearchResults. Stick solr_pagination.rb in lib in your Rails project. # By Henrik Nyh <http://henrik.nyh.s
There are several possibilities how to use ferret in RoR. This post will show the easy way – using the acts_as_ferret plugin. To show the syntax and code, I will use the same data objects as in the Full text search in ruby on rails 2 – MySQL Installation Ferret installation is easy gem install ferret will do the job. In addition, it is necessary to install the acts_as_ferret plugin. script/plugin
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く