Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Solr or Nhibernate Search

Bit confused here,

How’s Solr or Solrnet any different from Nhibernate Search? Does Solr offer anything more to Lucene.net that Nhibernate Search?

like image 827
Quintin Par Avatar asked Jan 22 '10 02:01

Quintin Par


People also ask

What is the difference between SOLR and Elasticsearch?

Solr had a broad, open source community. Anyone can still contribute to Solr, and new Solr developers or code committers are elected based on merit only. Elasticsearch is technically open source but not fully. All contributors have access to the source code, and users can make changes and contribute them.

How Solr search works?

Solr works by gathering, storing and indexing documents from different sources and making them searchable in near real-time. It follows a 3-step process that involves indexing, querying, and finally, ranking the results – all in near real-time, even though it can work with huge volumes of data.

How Solr works internally?

Solr is able to achieve fast search responses because, instead of searching the text directly, it searches an index instead. This is like retrieving pages in a book related to a keyword by scanning the index at the back of a book, as opposed to searching every word of every page of the book.


1 Answers

I explained the differences and relationships between these projects in this blog post.

In a nutshell: while Lucene(.net) is a library, Solr is a stand-alone Java application that uses Lucene to provide full-text indexing and searching through a XML/HTTP interface. This means that it can be used from any platform/language. While very flexible, it's easier to use than raw Lucene and provides features commonly used in search applications, like faceted search and hit highlighting. It also handles caching, replication, sharding, and has a nice web admin interface. None of those features are directly provided by Lucene.net / NHibernate.Search.

SolrNet is a client to communicate with Solr from a .net application.

like image 60
Mauricio Scheffer Avatar answered Sep 19 '22 18:09

Mauricio Scheffer