最新文章列表

sunspot使用(2)

**Sunspot基于Solr;**=========================================================== Solr是一个独立的企业级搜索应用服务器,它对外提供类似于Web-service的API接口。 Solr是一个高性能,采用Java5开发,基于Lucene的全文搜索服务器。同时对其进行了扩展,提供了比Lucene更为丰富的查询语言,同时实现了可配 ...
michael_roshen 评论(0) 有1265人浏览 2013-11-21 21:24

sunspot使用(1)

**sunspot使用**=================================1. gemfile     add gem 'sunspot_rails' to the gemfile2. excute bundle install3. generate sunspot config file, generate config/sunspot.yml    generate sol ...
michael_roshen 评论(0) 有409人浏览 2013-11-21 21:23

全文搜索 sunspot

All the power of the Solr search engine; all the beauty of Ruby. Sunspot exposes all of Solr's most powerful search features using an API of elegant DSLs. That means robust, flexible fulltext search ...
michael_roshen 评论(0) 有536人浏览 2013-06-07 20:28

Rails 快速配置sunspot

Step1:新建项目 Step2:脚手架 rails generate scaffold Post name:string title:string content:text Step3:数据库变更 rake db:migrate Step4: 加入gem包 gem 'sunspot_rails' gem 'sunspot_solr' # optional pre-packaged S ...
尼亚的鬼屋 评论(1) 有2100人浏览 2013-01-10 10:49

为针对于SimpleDB的Rails应用程序配置solr支持

配置环境 Server: Ubuntu 10.04 solr version: 1.4.1 sunspot_rails version: 1.2.0 Tomcat6_home: /var/lib/tomcat6 $SOLR_HOME = /home/ubuntu/java_app/apache-solr/example/solr ...
joesay 评论(0) 有1978人浏览 2012-01-03 19:32

Rails3全文检索使用Sunspot gem

在网站中经常用到全文检索,这样出于使用的方便打算给Everyday也做个全文检索的功能,网上比较了几个全文检索的gem,发现sunspot(内置了solr引擎)比较适合我的需求,并没有用到之前名气稍大的think_sphinx,下面介绍下rails3和Sunspot的集成: 安装sunspot gem: $ gem install sunspot 修改#rails_app/Gemfile: $ ge ...
tim.tang 评论(1) 有1343人浏览 2011-11-11 10:50

Rails3全文检索使用Sunspot gem

在网站中经常用到全文检索,这样出于使用的方便打算给Everyday也做个全文检索的功能,网上比较了几个全文检索的gem,发现sunspot(内置了solr引擎)比较适合我的需求,并没有用到之前名气稍大的think_sphinx,下面介绍下rails3和Sunspot的集成: 详细可看:http://everyday-cn.com/zh/show_blog/rails3-sunspot-gem
tim.tang 评论(1) 有863人浏览 2011-11-07 12:12

最近博客热门TAG

Java(141745) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54919) .net(54785) Web(54514) 工作(54118) Linux(50905) Oracle(49875) 应用服务器(43289) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37268) 数据结构(36424)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics