/// <summary>
 /// Adds a file index to ES
 /// </summary>
 /// <param name="fileData">The file to add</param>
 private void AddNew(IFileData fileData)
 {
     string requestUrl = GetRequestUrl(fileData);
     var elasticSearchNetwork=new ElasticSearchNetwork(requestUrl,"PUT",fileData.ToString());
     elasticSearchNetwork.SendAndGetResponse();
  
 }
        /// <summary>
        /// Adds a file index to ES
        /// </summary>
        /// <param name="fileData">The file to add</param>
        private void AddNew(IFileData fileData)
        {
            string requestUrl           = GetRequestUrl(fileData);
            var    elasticSearchNetwork = new ElasticSearchNetwork(requestUrl, "PUT", fileData.ToString());

            elasticSearchNetwork.SendAndGetResponse();
        }