Exemplo n.º 1
0
 internal ElasticOpenSearchRequest(ElasticClientWrapper client, string indexName, string typeName, System.Collections.Specialized.NameValueCollection parameters, IOpenSearchableElasticType type) :
     base(BuildOpenSearchUrl(indexName, typeName, parameters), "application/json")
 {
     this.parameters = parameters;
     this.type       = type;
     this.indexName  = indexName;
     this.typeName   = typeName;
     this.client     = client;
 }
Exemplo n.º 2
0
        public BaseService(string name)
        {
            ecf = new ElasticCasFactory(name);

            client = ecf.Client;
        }