SolrNet icon indicating copy to clipboard operation
SolrNet copied to clipboard

Solr client for .Net

SolrNet is an Apache Solr and SolrCloud client for .NET

SolrNet does not attempt to abstract much over Solr, it's assumed that you know what Solr is and how to use it, just as you need to know relational databases before using an ORM.

If you're not familiar with Solr, take your time to follow the Solr tutorial, see the FAQ and the docs. Consider getting a book.

Downloads

The easiest way to get going is to use our NuGet packages:

Solr

Package Description .NET Framework .NET Standard
SolrNet.Core Core library, best used with one of the DI integration packages 4.6 2.0
SolrNet Lightweight DI - commonservicelocator 4.6 2.0
SolrNet.Windsor Castle Windsor integration 4.6 2.0
SolrNet.Microsoft.DependencyInjection Microsoft Core Dependency Injection 4.6.1 2.0
SolrNet.StructureMap StructureMap 4.6 2.0
SolrNet.Ninject Ninject 4.6 2.0
SolrNet.Unity Unity 4.6 2.0
SolrNet.Autofac Autofac 4.6 2.0
SolrNet.SimpleInjector SimpleInjector 4.6 2.0

SolrCloud

Package Description .NET Framework .NET Standard
SolrNet.Cloud.Core Core library, best used with one of the DI integration packages 4.6 2.0
SolrNet.Cloud Lightweight DI - commonservicelocator 4.6 2.0
SolrNet.Cloud.Unity Unity 4.6 2.0
SolrNet.Cloud.Autofac Autofac 4.6 2.0

Documentation index

  • Overview and basic usage
  • Basic cloud usage
  • Mapping
  • Initialization
  • Create/Update/Delete
  • Querying
  • Faceting
  • Highlighting
  • More like this
  • Spell checking
  • Stats
  • Field collapsing / grouping
  • Core admin
  • Overriding the default mapper
  • Accessing multiple Solr cores / instances
  • Mapping validation
  • Binary document upload
  • Sample web application
  • FAQ
  • Websites, products and companies using SolrNet

Contributing

See Contributing

Release notes

See Change Log