Lucene 的 Ruby 替代品 [英] Ruby alternative for Lucene

查看:17
本文介绍了Lucene 的 Ruby 替代品的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我经常听说 Lucene,它是 Java 中最好的搜索引擎库之一.有没有类似的(同样强大的)Ruby 库?

解决方案

嗯,有 Ferret,是 Lucene 到 Ruby 的一个端口.此外,Lucene 非常容易从 JRuby 使用,如果您愿意的话.

根据您的需要,您可能还想看看 Solr,这是一个基于 Lucene 构建的更高级别的前端.有一个 Ruby 接口,solr-ruby,通过 HTTP 与 Solr 交互.p>

I have heard about Lucene a lot, that it's one of the best search engine libraries in Java. Is there any similar (as powerful) library for Ruby?

解决方案

Well, there's Ferret, which is a port of Lucene to Ruby. Also, Lucene is very easy to use from JRuby, if that's an option for you.

Depending on your needs, you might also want to take a look at Solr, which is a higher-level front-end built on Lucene. There is a Ruby interface, solr-ruby, that interacts with Solr via HTTP.

这篇关于Lucene 的 Ruby 替代品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆