{"id":64,"date":"2011-06-25T19:32:52","date_gmt":"2011-06-25T17:32:52","guid":{"rendered":"http:\/\/www.extradrm.com\/?p=64"},"modified":"2020-10-09T22:21:44","modified_gmt":"2020-10-09T20:21:44","slug":"mongodb-vs-solr","status":"publish","type":"post","link":"http:\/\/www.extradrm.com\/?p=64","title":{"rendered":"MongoDB vs SolR"},"content":{"rendered":"<div>http:\/\/stackoverflow.com\/questions\/3215029\/nosql-mongodb-vs-lucene-or-solr-as-your-databaseThis is a great question, something I have pondered over quite a bit. I will summarize my lessons learned:<\/p>\n<ol>\n<li>You can easily use Lucene\/Solr in lieu of MongoDB for pretty much all situations, but not vice versa. Grant Ingersoll&#8217;s <a href=\"http:\/\/www.lucidimagination.com\/blog\/2010\/04\/30\/nosql-lucene-and-solr\/\" rel=\"nofollow\">post sums it up here.<\/a><\/li>\n<li>MongoDB etc. seem to serve a purpose where there is no requirement of searching and\/or faceting. It appears to be a simpler and arguably easier transition for programmers detoxing from the RDBMS world. Unless one&#8217;s used to it Lucene &amp; Solr have a steeper learning curve.<\/li>\n<li>There aren&#8217;t many examples of using Lucene\/Solr as a datastore, but Guardian has made some headway and summarize this in an excellent <a href=\"http:\/\/bit.ly\/bdPN32\" rel=\"nofollow\">slide-deck<\/a>, but they too are non-committal on totally jumping on Solr bandwagon and &#8220;investigating&#8221; combining Solr with CouchDB.<\/li>\n<li>Finally, I will offer our experience, unfortunately cannot reveal much about the business-case. We work on the scale of several TB of data, a near real-time application. After investigating various combinations, decided to stick with Solr. No regrets thus far (6-months &amp; counting) and see no reason to switch to some other.<\/li>\n<\/ol>\n<p>Summary: if you do not have a search requirement, Mongo offers a simple &amp; powerful approach. However if search is key to your offering, you are likely better off sticking to one tech (Solr\/Lucene) and optimizing the heck out of it &#8211; fewer moving parts.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/stackoverflow.com\/questions\/3215029\/nosql-mongodb-vs-lucene-or-solr-as-your-databaseThis is a great question, something I have pondered over quite a bit. I will summarize my lessons learned: You can easily use Lucene\/Solr in lieu of MongoDB for pretty much all situations, but&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":2847,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,2],"tags":[],"youtube_video":null,"_links":{"self":[{"href":"http:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/posts\/64"}],"collection":[{"href":"http:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=64"}],"version-history":[{"count":0,"href":"http:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/media\/2847"}],"wp:attachment":[{"href":"http:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}