`

why use solr

    博客分类:
  • solr
阅读更多

何时使用solr,为何要使用solr

 

今天在google上搜索了why use solr,原文如下,个人觉得写的非常好

 Assuming the user has a relational DB, why use Solr? If your use case requires a person to type words into a search box, you want a text search engine like Solr.

 

Databases and Solr have complementary strengths and weaknesses. SQL supports very simple wildcard-based text search with some simple normalization like matching upper case to lower case. The problem is that these are full table scans. In Solr all searchable words are stored in an "inverse index", which searches orders of magnitude faster. For a more complete description of Solr's features, see http://lucene.apache.org/solr/features.html.

 

原文链接为:https://wiki.apache.org/solr/WhyUseSolr

说了这么多,就是为了说明何时应该使用solr:全文检索。

 

  • 大小: 76.8 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics