Lucene 的 Ruby 替代品

2022-01-15 00:00:00 ruby lucene java

我经常听说 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.

相关文章