Solr与Hibernate Search - 选择何时? [英] Solr vs Hibernate Search - Which to choose and When?
问题描述
我们正在构建电子商务应用程序。我们使用Hibernate和Spring Framework的JAVA堆栈。与所有电子商务应用程序一样,我们需要在我们的网站中建立搜索功能。
因此,我们遇到了 Hibernate搜索和 Apache Solr 。有人可以列出两者的优点和缺点,以便我们可以为企业级搜索选择理想的解决方案吗?
解决方案此链接可能对您有用:
http://engineering.twitter.com/2011/04/twitter-search-is-now-3x-faster_1656.html
We are building an ecommerce application. We are using JAVA stack with Hibernate and Spring Framework. As with all ecommerce application, we need to build search capability into ours.
So, we came across Hibernate Search and Apache Solr . Can someone list out the pros and cons of both of them so that we can select the ideal solution for Enterprise Search?
Apache Solr is mainly used for full text search: if you want to find words (singular and plurals for example) in a big set of documents where the size of each doc is from one paragraph to a few pages. Solr may not be better than a regular database if you don't use it for text search but only for int and varchar search.
This link might be useful to you:
http://engineering.twitter.com/2011/04/twitter-search-is-now-3x-faster_1656.html
这篇关于Solr与Hibernate Search - 选择何时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!