public ResponseHeader Add(IEnumerable <T> docs, AddParameters parameters) { return(basicServer.AddWithBoost(docs.Select(d => new KeyValuePair <T, double?>(d, null)), parameters)); }
public async Task <ResponseHeader> AddRange(IEnumerable <T> docs, AddParameters parameters) { return(await basicServer.AddWithBoost(docs.Select(d => new KeyValuePair <T, double?>(d, null)), parameters)); }