Fix elasticsearch result ids returning as strings
{'login': 'sai-prasanna', 'id': 3595526, 'node_id': 'MDQ6VXNlcjM1OTU1MjY=', 'avatar_url': 'https://avatars.githubusercontent.com/u/3595526?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/sai-prasanna', 'html_url': 'https://github.com/sai-prasanna', 'followers_url': 'https://api.github.com/users/sai-prasanna/followers', 'following_url': 'https://api.github.com/users/sai-prasanna/following{/other_user}', 'gists_url': 'https://api.github.com/users/sai-prasanna/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/sai-prasanna/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/sai-prasanna/subscriptions', 'organizations_url': 'https://api.github.com/users/sai-prasanna/orgs', 'repos_url': 'https://api.github.com/users/sai-prasanna/repos', 'events_url': 'https://api.github.com/users/sai-prasanna/events{/privacy}', 'received_events_url': 'https://api.github.com/users/sai-prasanna/received_events', 'type': 'User', 'site_admin': False}
[]
[]
It looks like you need to rebase from master to fix the CI. Could you do that please ?
I am using the latest elasticsearch binary and master of nlp. For me elasticsearch searches failed because the resultant "id_" returned for searches are strings, but our library assumes them to be integers.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/487/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
{'url': 'https://api.github.com/repos/huggingface/datasets/pulls/487', 'html_url': 'https://github.com/huggingface/datasets/pull/487', 'diff_url': 'https://github.com/huggingface/datasets/pull/487.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/487.patch', 'merged_at': '2020-08-31T10:42:46Z'}