{"action":"created","issue":{"url":"https://api.github.com/repos/facebookresearch/faiss/issues/465","repository_url":"https://api.github.com/repos/facebookresearch/faiss","labels_url":"https://api.github.com/repos/facebookresearch/faiss/issues/465/labels{/name}","comments_url":"https://api.github.com/repos/facebookresearch/faiss/issues/465/comments","events_url":"https://api.github.com/repos/facebookresearch/faiss/issues/465/events","html_url":"https://github.com/facebookresearch/faiss/issues/465","id":327964390,"node_id":"MDU6SXNzdWUzMjc5NjQzOTA=","number":465,"title":"How to realign the remaining ids after remove_ids?","user":{"login":"XiaXuehai","id":11585321,"node_id":"MDQ6VXNlcjExNTg1MzIx","avatar_url":"https://avatars1.githubusercontent.com/u/11585321?v=4","gravatar_id":"","url":"https://api.github.com/users/XiaXuehai","html_url":"https://github.com/XiaXuehai","followers_url":"https://api.github.com/users/XiaXuehai/followers","following_url":"https://api.github.com/users/XiaXuehai/following{/other_user}","gists_url":"https://api.github.com/users/XiaXuehai/gists{/gist_id}","starred_url":"https://api.github.com/users/XiaXuehai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XiaXuehai/subscriptions","organizations_url":"https://api.github.com/users/XiaXuehai/orgs","repos_url":"https://api.github.com/users/XiaXuehai/repos","events_url":"https://api.github.com/users/XiaXuehai/events{/privacy}","received_events_url":"https://api.github.com/users/XiaXuehai/received_events","type":"User","site_admin":false},"labels":[{"id":534246314,"node_id":"MDU6TGFiZWw1MzQyNDYzMTQ=","url":"https://api.github.com/repos/facebookresearch/faiss/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-31T01:50:23Z","updated_at":"2018-06-28T23:31:34Z","closed_at":"2018-06-28T23:31:34Z","author_association":"NONE","body":"After removing ids ,how to realign the remaining ids?\r\nfor example:\r\nremove before,the search result is :I=[[2,3,4,5,]]\r\nthen remove ID=0,\r\nwhat I want is I = [[1,2,3,4]]"},"comment":{"url":"https://api.github.com/repos/facebookresearch/faiss/issues/comments/401203432","html_url":"https://github.com/facebookresearch/faiss/issues/465#issuecomment-401203432","issue_url":"https://api.github.com/repos/facebookresearch/faiss/issues/465","id":401203432,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTIwMzQzMg==","user":{"login":"mdouze","id":25364969,"node_id":"MDQ6VXNlcjI1MzY0OTY5","avatar_url":"https://avatars1.githubusercontent.com/u/25364969?v=4","gravatar_id":"","url":"https://api.github.com/users/mdouze","html_url":"https://github.com/mdouze","followers_url":"https://api.github.com/users/mdouze/followers","following_url":"https://api.github.com/users/mdouze/following{/other_user}","gists_url":"https://api.github.com/users/mdouze/gists{/gist_id}","starred_url":"https://api.github.com/users/mdouze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdouze/subscriptions","organizations_url":"https://api.github.com/users/mdouze/orgs","repos_url":"https://api.github.com/users/mdouze/repos","events_url":"https://api.github.com/users/mdouze/events{/privacy}","received_events_url":"https://api.github.com/users/mdouze/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T23:31:34Z","updated_at":"2018-06-28T23:31:34Z","author_association":"CONTRIBUTOR","body":"No activity, closing."}}
{"actor":{"display_login":"mdouze"}}