mausch/SolrNet — pull request #60 by spudstuff (2012-11-06 05:04:06+00:00)
Title: Support for named registration via Autofac

Useful when using multiple cores with the same document type (even Dictionary).

Sample usage:

````c#
var builder = new ContainerBuilder();
var cores = new SolrServers {
new SolrServerElement {
Id = "entity1",
DocumentType = typeof (Dictionary).AssemblyQualifiedName,
Url = "http://localhost:8983/solr/coreEntity1",
},
new SolrServerElement {
Id = "entity2",
DocumentType = typeof (Dictionary).AssemblyQualifiedName,
Url = "http://localhost:8983/solr/coreEntity2",
},
};

builder.RegisterModule(new SolrNetModule(cores));
var container = builder.Build();

var solrOperations1 = container.ResolveNamed>>("entity1");
var solrOperations2 = container.ResolveNamed>>("entity2");````