SolrNet.Impl.SolrConnection Class Reference
Manages HTTP connection with Solr. More...
Inheritance diagram for SolrNet.Impl.SolrConnection:
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:
-
serverURL URL to Solr
Member Function Documentation
string SolrNet.Impl.SolrConnection.Get | ( | string | relativeUrl, |
IEnumerable< KeyValuePair< string, string >> | parameters | ||
) |
GETs from Solr.
- Parameters:
-
relativeUrl Path to get from parameters Query string parameters
- Returns:
Implements SolrNet.ISolrConnection.
string SolrNet.Impl.SolrConnection.Post | ( | string | relativeUrl, |
string | s | ||
) |
POSTs to Solr.
- Parameters:
-
relativeUrl Path to post to s POST 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:
-
relativeUrl Path to post to contentType Request content type (optional) content Binary content getParameters extra 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 1.7.2