全文搜索使用Rails [英] Full Text Searching with Rails
问题描述
我一直在寻找Rails的插件/ gems。大多数文章将Ferret(Lucene)与Ultrasphinx或可能的思维狮身人面像进行了比较,但没有一篇讨论 SearchLogic 。有没有人有任何线索如何比较?你使用什么,它是如何执行的?
-
think_sphinx和sphinx work漂亮的,没有索引,查询,安装有问题(5或6安装,包括生产切片主机)
为什么不每个人都使用sphinx,就像说craigslist ?阅读这里了解它的局限性(一年半的文章,狮身人面像开发人员Aksyonoff正在研究这些问题,并且他正在提供功能和可靠性,并以惊人的速度消除错误)
http://codemonkey.ravelry.com/2008/01/09/sphinx-for-search/
http://www.ibm.com/developerworks/opensource/library/os-php-apachesolr/
全文检索引擎比较 - Lucene,Sphinx,Postgresql,MySQL?
鼬:易于安装,不正确,非常缓慢的索引(一个MySQL的分贝:狮身人面像:3秒,雪貂:50分钟)。在负载下生产drb服务器时记录良好的问题(索引损坏)。话虽如此,我已经在开发中使用它,因为三年前的行为已经出来了,这对我很好。在某些情况下,不遵守porter stemming是一个优势。
重新安装tomcat:SOLR / lucene毫无疑问是我见过的任何软件包的最佳知识库/支持搜索引擎(我想我并不感到惊讶) ,搜索框在这里:
-
太阳黑子新的红宝石包装,建立在solr-ruby上。看起来很有前途,但我无法在OSX上安装它。通过AR索引所有ruby对象,而不仅仅是数据库
-
索引真正有用的一件事是安装2个搜索插件,例如狮身人面像和SOLR,狮身人面像和雪貂,并看看他们返回什么不同的结果。就像
@sphinx_results - @ferret_results
刚刚看到这篇文章和回复
http://zooie.wordpress.com/2009/07/06/a-comparison-开源搜索引擎和索引twitter /
otis / entry / open_source_search_engine_benchmarkrel =nofollow noreferrer> http://www.jroller.com/otis/entry/open_source_search_engine_benchmark http://www.flax.co.uk/blog/2009/ 07/07 / xapian-comparison /
I've been looking into searching plugins/gems for Rails. Most of the articles compare Ferret (Lucene) to Ultrasphinx or possibly Thinking Sphinx, but none that talk about SearchLogic. Does anyone have any clues as to how that one compares? What do you use, and how does it perform?
thinking_sphinx and sphinx work beautifully, no indexing, query, install problems ever (5 or 6 install, including production slicehost )
why doesn't everybody use sphinx, like, say craigslist? read here about its limitations (year and a half old articles. The sphinx developer, Aksyonoff, is working on these and he's putting in features and reliability and stamping out bugs at an amazing pace)
http://codemonkey.ravelry.com/2008/01/09/sphinx-for-search/
http://www.ibm.com/developerworks/opensource/library/os-php-apachesolr/
Comparison of full text search engine - Lucene, Sphinx, Postgresql, MySQL?
ferret: easy install, doesn't stem properly, very slow indexing (one mysql db: sphinx: 3 seconds, ferret: 50 minutes). Well documented problems (index corruption) in drb servers in production under load. Having said that, i have use it in develometn since acts-as_ferret came out 3 years ago, and it has served me well. Not adhering to porter stemming is an advantage in some contexts.
Lucene and Solr is the gorilla/mack truck / heavyweight champ of open source search. The teams have been doing an impressive number of new features in solr 14 release:
acts-as-solr: works well, once the tomcat or jetty is in place, but those sometimes are a pain. The A-A-S fork by mattmatt is the main fork, but the project is relatively unmaintained.
re the tomcat install: SOLR/lucene has unquestionably the best knowledge base/ support search engine of any software package i've seen ( i guess i'm not that surprised), the search box here:
http://www.lucidimagination.com/
Sunspot the new ruby wrapper, build on solr-ruby. Looks promising, but I couldn't get it to install on OSX. Indexes all ruby objects, not just databases through AR
one thing that's really instructive is to install 2 search plugins, e.g. sphinx and SOLR, sphinx and ferret, and see what different results they return. It's as easy as
@sphinx_results - @ferret_results
just saw this post and responses
http://www.jroller.com/otis/entry/open_source_search_engine_benchmark
http://www.flax.co.uk/blog/2009/07/07/xapian-compared/
这篇关于全文搜索使用Rails的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!