Method | Description | |
---|---|---|
SearchRequestFormatter ( IElasticConnection connection, IElasticMapping mapping, SearchRequest searchRequest ) : ElasticLinq.Mapping |
Create a new SearchRequestFormatter for the given connection, mapping and search request.
|
Method | Description | |
---|---|---|
Build ( IEnumerable |
||
Build ( ElasticLinq.Request.Criteria.BoolCriteria criteria ) : Newtonsoft.Json.Linq.JObject | ||
Build ( ElasticLinq.Request.Criteria.CompoundCriteria criteria ) : Newtonsoft.Json.Linq.JObject | ||
Build ( Highlight highlight ) : Newtonsoft.Json.Linq.JObject | ||
Build ( ICriteria criteria ) : Newtonsoft.Json.Linq.JObject | ||
Build ( ElasticLinq.Request.Criteria.MatchAllCriteria criteria ) : Newtonsoft.Json.Linq.JObject | ||
Build ( ElasticLinq.Request.Criteria.NotCriteria criteria ) : Newtonsoft.Json.Linq.JObject | ||
Build ( |
||
Build ( ElasticLinq.Request.Criteria.QueryStringCriteria criteria ) : Newtonsoft.Json.Linq.JObject | ||
Build ( ElasticLinq.Request.Criteria.RangeCriteria criteria ) : Newtonsoft.Json.Linq.JObject | ||
Build ( ElasticLinq.Request.Criteria.RegexpCriteria criteria ) : Newtonsoft.Json.Linq.JObject | ||
Build ( ElasticLinq.Request.Criteria.SingleFieldCriteria criteria ) : Newtonsoft.Json.Linq.JObject | ||
Build ( ElasticLinq.Request.Criteria.TermCriteria criteria ) : Newtonsoft.Json.Linq.JObject | ||
Build ( |
||
Build ( IFacet facet, long defaultSize ) : |
||
Build ( IEnumerable |
||
Build ( IFacet facet ) : JToken | ||
Build ( |
||
Build ( ElasticLinq.Request.Facets.TermsFacet termsFacet ) : JToken | ||
Build ( ElasticLinq.Request.Facets.TermsStatsFacet termStatsFacet ) : JToken | ||
Build ( SortOption sortOption ) : object | ||
BuildFieldProperty ( ReadOnlyCollection |
||
BuildProperties ( ElasticLinq.Request.Criteria.BoolCriteria criteria ) : IEnumerable |
||
CreateBody ( ) : Newtonsoft.Json.Linq.JObject |
Create the Json HTTP request body for this request given the search query and connection.
|
|
Format ( System.TimeSpan timeSpan ) : string |
public SearchRequestFormatter ( IElasticConnection connection, IElasticMapping mapping, SearchRequest searchRequest ) : ElasticLinq.Mapping | ||
connection | IElasticConnection | The ElasticConnection to prepare the SearchRequest for. |
mapping | IElasticMapping | The IElasticMapping used to format the SearchRequest. |
searchRequest | SearchRequest | The SearchRequest to be formatted. |
return | ElasticLinq.Mapping |