whole_func_string: function create(record, indexArg = indexName) {
          logger.trace('creating record', logRecord ? record : null);
  
          const query = {
              index: indexArg,
              type: recordType,
              id: record[idField],
              body: record,
              refresh: forceRefresh
          };
  
          return elasticsearch.create(query);
      }
func_code_string: function create(record, indexArg = indexName) {
          logger.trace('creating record', logRecord ? record : null);
  
          const query = {
              index: indexArg,
              type: recordType,
              id: record[idField],
              body: record,
              refresh: forceRefresh
          };
  
          return elasticsearch.create(query);
      }
func_documentation_string: /*
  Create saves a record to elasticsearch under the provided id.
  If the record already exists it will not be inserted.