@@ -28,10 +28,10 @@ public static IGetResponse<T> Get<T>(this IElasticClient client, string id, stri
2828 /// </summary>
2929 /// <typeparam name="T">The type used to infer the default index and typename</typeparam>
3030 /// <param name="client"></param>
31- /// <param name="id">The int id of the document we want the fetch</param>
31+ /// <param name="id">The long id of the document we want the fetch</param>
3232 /// <param name="index">Optionally override the inferred index name for T</param>
3333 /// <param name="type">Optionally override the inferred typename for T</param>
34- public static IGetResponse < T > Get < T > ( this IElasticClient client , int id , string index = null , string type = null )
34+ public static IGetResponse < T > Get < T > ( this IElasticClient client , long id , string index = null , string type = null )
3535 where T : class
3636 {
3737 return client . Get < T > ( s => s . Id ( id ) . Index ( index ) . Type ( type ) ) ;
@@ -58,10 +58,10 @@ public static Task<IGetResponse<T>> GetAsync<T>(this IElasticClient client, stri
5858 /// </summary>
5959 /// <typeparam name="T">The type used to infer the default index and typename</typeparam>
6060 /// <param name="client"></param>
61- /// <param name="id">The int id of the document we want the fetch</param>
61+ /// <param name="id">The long id of the document we want the fetch</param>
6262 /// <param name="index">Optionally override the inferred index name for T</param>
6363 /// <param name="type">Optionally override the inferred typename for T</param>
64- public static Task < IGetResponse < T > > GetAsync < T > ( this IElasticClient client , int id , string index = null , string type = null )
64+ public static Task < IGetResponse < T > > GetAsync < T > ( this IElasticClient client , long id , string index = null , string type = null )
6565 where T : class
6666 {
6767 return client . GetAsync < T > ( s => s . Id ( id ) . Index ( index ) . Type ( type ) ) ;
0 commit comments