SolrNet: SolrNet.Impl.SolrConnection Class Reference

SolrNet

SolrNet.Impl.SolrConnection Class Reference

Manages HTTP connection with Solr. More...

Inheritance diagram for SolrNet.Impl.SolrConnection:

List of all members.

Classes

struct  SolrResponse

Public Member Functions

 SolrConnection (string serverURL)
 Manages HTTP connection with Solr.
string Post (string relativeUrl, string s)
 POSTs to Solr.
string PostStream (string relativeUrl, string contentType, Stream content, IEnumerable< KeyValuePair< string, string >> parameters)
 POSTs binary to Solr.
string Get (string relativeUrl, IEnumerable< KeyValuePair< string, string >> parameters)
 GETs from Solr.

Properties

ISolrCache Cache [get, set]
 HTTP cache implementation.
IHttpWebRequestFactory HttpWebRequestFactory [get, set]
 HTTP request factory.
string ServerURL [get, set]
 URL to Solr.
string Version [get, set]
 Solr XML response syntax version.
int Timeout [get, set]
 HTTP connection timeout.

Detailed Description

Manages HTTP connection with Solr.


Constructor & Destructor Documentation

SolrNet.Impl.SolrConnection.SolrConnection ( string  serverURL )

Manages HTTP connection with Solr.

Parameters:
serverURLURL to Solr

Member Function Documentation

string SolrNet.Impl.SolrConnection.Get ( string  relativeUrl,
IEnumerable< KeyValuePair< string, string >>  parameters 
)

GETs from Solr.

Parameters:
relativeUrlPath to get from
parametersQuery string parameters
Returns:

Implements SolrNet.ISolrConnection.

string SolrNet.Impl.SolrConnection.Post ( string  relativeUrl,
string  s 
)

POSTs to Solr.

Parameters:
relativeUrlPath to post to
sPOST content
Returns:

Implements SolrNet.ISolrConnection.

string SolrNet.Impl.SolrConnection.PostStream ( string  relativeUrl,
string  contentType,
Stream  content,
IEnumerable< KeyValuePair< string, string >>  getParameters 
)

POSTs binary to Solr.

Parameters:
relativeUrlPath to post to
contentTypeRequest content type (optional)
contentBinary content
getParametersextra parameters to pass in query string
Returns:

Implements SolrNet.ISolrConnection.


Property Documentation

ISolrCache SolrNet.Impl.SolrConnection.Cache [get, set]

HTTP cache implementation.

IHttpWebRequestFactory SolrNet.Impl.SolrConnection.HttpWebRequestFactory [get, set]

HTTP request factory.

string SolrNet.Impl.SolrConnection.ServerURL [get, set]

URL to Solr.

int SolrNet.Impl.SolrConnection.Timeout [get, set]

HTTP connection timeout.

string SolrNet.Impl.SolrConnection.Version [get, set]

Solr XML response syntax version.


The documentation for this class was generated from the following file:
  • SolrNet/Impl/SolrConnection.cs
Generated on Sun May 3 2015 17:19:09 for SolrNet by  doxygen 1.7.2