Class MultiCoreStartup
Inheritance
System.Object
MultiCoreStartup
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Search.Providers.Solr
Assembly: Mediachase.Search.SolrSearchProvider.dll
Version: 12.17.2Syntax
public static class MultiCoreStartup
Fields
Container
Declaration
public static readonly Container Container
Field Value
Type | Description |
---|---|
SolrNet.Utils.Container |
Methods
CreateCoreKey(String, String)
Creates the core key.
Declaration
public static string CreateCoreKey(string original, string core)
Parameters
Type | Name | Description |
---|---|---|
System.String | original | The original. |
System.String | core | The core. |
Returns
Type | Description |
---|---|
System.String |
Init<T>(ISolrConnection, String)
Initializes SolrNet with the built-in container
Declaration
public static void Init<T>(ISolrConnection connection, string core)
where T : new()
Parameters
Type | Name | Description |
---|---|---|
SolrNet.ISolrConnection | connection | |
System.String | core | The name of the search core. |
Type Parameters
Name | Description |
---|---|
T |
Init<T>(String, String)
Initializes SolrNet with the built-in container
Declaration
public static void Init<T>(string serverURL, string core)
where T : new()
Parameters
Type | Name | Description |
---|---|---|
System.String | serverURL | Solr URL (i.e. "http://localhost:8983/solr") |
System.String | core | The name of the search core. |
Type Parameters
Name | Description |
---|---|
T | Document type |
InitContainer()
Declaration
public static void InitContainer()