Class SolrConnection

Inheritance
System.Object
SolrConnection
Implements
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: SolrNet.Impl
Assembly: Solrnet.dll
Version: 13.30.0
Syntax
public class SolrConnection : ISolrConnection

Constructors

SolrConnection(String)

Declaration
public SolrConnection(string serverURL)
Parameters
Type Name Description
System.String serverURL

SolrConnection(String, IHttpWebRequestFactory)

Declaration
public SolrConnection(string serverURL, IHttpWebRequestFactory httpWebRequestFactory)
Parameters
Type Name Description
System.String serverURL
IHttpWebRequestFactory httpWebRequestFactory

Properties

Cache

Declaration
public ISolrCache Cache { get; set; }
Property Value
Type Description
ISolrCache

ServerURL

Declaration
public string ServerURL { get; set; }
Property Value
Type Description
System.String

Timeout

Declaration
public int Timeout { get; set; }
Property Value
Type Description
System.Int32

Version

Declaration
public string Version { get; set; }
Property Value
Type Description
System.String

Methods

Get(String, IEnumerable<KeyValuePair<String, String>>)

Declaration
public string Get(string relativeUrl, IEnumerable<KeyValuePair<string, string>> parameters)
Parameters
Type Name Description
System.String relativeUrl
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>> parameters
Returns
Type Description
System.String

KVP<T1, T2>(T1, T2)

Declaration
public KeyValuePair<T1, T2> KVP<T1, T2>(T1 a, T2 b)
Parameters
Type Name Description
T1 a
T2 b
Returns
Type Description
System.Collections.Generic.KeyValuePair<T1, T2>
Type Parameters
Name Description
T1
T2

Post(String, String)

Declaration
public string Post(string relativeUrl, string s)
Parameters
Type Name Description
System.String relativeUrl
System.String s
Returns
Type Description
System.String

Implements