public object Get(TypeGetRequest request) { IOpenSearchableElasticType type = ecf.GetOpenSearchableElasticTypeByNameOrDefault(request.IndexName, request.TypeName); NameValueCollection parameters = new NameValueCollection(); parameters.Set("uid", request.Id); return(OpenSearchService.Query(type, parameters)); }
public object Get(TypeGetRequest request) { IOpenSearchableElasticType type = ecf.GetOpenSearchableElasticTypeByNameOrDefault(request.IndexName, request.TypeName); NameValueCollection parameters = new NameValueCollection(); parameters.Set("uid", request.Id); return OpenSearchService.Query(type, parameters); }