Apply index-filters on scores in get_nearest_examples and get_nearest…
{'login': 'vishalsrao', 'id': 36671559, 'node_id': 'MDQ6VXNlcjM2NjcxNTU5', 'avatar_url': 'https://avatars.githubusercontent.com/u/36671559?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/vishalsrao', 'html_url': 'https://github.com/vishalsrao', 'followers_url': 'https://api.github.com/users/vishalsrao/followers', 'following_url': 'https://api.github.com/users/vishalsrao/following{/other_user}', 'gists_url': 'https://api.github.com/users/vishalsrao/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/vishalsrao/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/vishalsrao/subscriptions', 'organizations_url': 'https://api.github.com/users/vishalsrao/orgs', 'repos_url': 'https://api.github.com/users/vishalsrao/repos', 'events_url': 'https://api.github.com/users/vishalsrao/events{/privacy}', 'received_events_url': 'https://api.github.com/users/vishalsrao/received_events', 'type': 'User', 'site_admin': False}
[]
[]
Updated search.py to resolve the issue mentioned in https://github.com/huggingface/datasets/issues/3961.

Applied index-filters on scores in get_nearest_examples and get_nearest_examples_batch methods of search.py.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/3970/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/3970', 'html_url': 'https://github.com/huggingface/datasets/pull/3970', 'diff_url': 'https://github.com/huggingface/datasets/pull/3970.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/3970.patch', 'merged_at': None}