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

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

问题描述

我听说过Lucene很多,它是Java中最好的搜索引擎库之一。 Ruby有没有类似的(强大的)库?

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?

推荐答案

嗯,有一个 Ferret ,这是Lucene到Ruby的一个端口。此外,Lucene非常容易使用 JRuby ,如果这是你的选择。

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.

根据您的需要,您可能还需要查看 Solr ,这是一个基于Lucene的高级前端。有一个Ruby接口, solr-ruby ,它通过HTTP与Solr交互。

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天全站免登陆