Méthode | Description | |
---|---|---|
ElasticNetConnection ( IElasticsearchClient client, string index = null, System.TimeSpan timeout = null, ElasticConnectionOptions options = null ) : System |
Create a new ElasticNetConnection with the given parameters defining its properties.
|
|
GetSearchUri ( ElasticLinq.Request.SearchRequest searchRequest ) : |
||
SearchAsync ( string body, ElasticLinq.Request.SearchRequest searchRequest, |
Méthode | Description | |
---|---|---|
GetResultSummary ( ElasticLinq.Response.Model.ElasticResponse results ) : IEnumerable |
||
ParseResponse ( string response, ILog log ) : ElasticLinq.Response.Model.ElasticResponse | ||
SetRequestParameters ( SearchRequestParameters searchRequestParameters, ElasticLinq.Request.SearchRequest searchRequest ) : SearchRequestParameters |
public ElasticNetConnection ( IElasticsearchClient client, string index = null, System.TimeSpan timeout = null, ElasticConnectionOptions options = null ) : System | ||
client | IElasticsearchClient | The ElasticsearchClient to use in order to contact elasticsearch. |
index | string | Name of the index to use on the server (optional). |
timeout | System.TimeSpan | TimeSpan to wait for network responses before failing (optional, defaults to 10 seconds). |
options | ElasticConnectionOptions | Additional options that specify how this connection should behave. |
Résultat | System |
public GetSearchUri ( ElasticLinq.Request.SearchRequest searchRequest ) : |
||
searchRequest | ElasticLinq.Request.SearchRequest | |
Résultat |
public SearchAsync ( string body, ElasticLinq.Request.SearchRequest searchRequest, |
||
body | string | |
searchRequest | ElasticLinq.Request.SearchRequest | |
token | ||
log | ILog | |
Résultat | Task |