我经常听说 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 替代品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!