{"action":"closed","issue":{"url":"https://api.github.com/repos/spotify/annoy/issues/131","labels_url":"https://api.github.com/repos/spotify/annoy/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/spotify/annoy/issues/131/comments","events_url":"https://api.github.com/repos/spotify/annoy/issues/131/events","html_url":"https://github.com/spotify/annoy/issues/131","id":128323338,"number":131,"title":"Euclidean distance instead of angular used?","user":{"login":"wbittremieux","id":10773123,"avatar_url":"https://avatars.githubusercontent.com/u/10773123?v=3","gravatar_id":"","url":"https://api.github.com/users/wbittremieux","html_url":"https://github.com/wbittremieux","followers_url":"https://api.github.com/users/wbittremieux/followers","following_url":"https://api.github.com/users/wbittremieux/following{/other_user}","gists_url":"https://api.github.com/users/wbittremieux/gists{/gist_id}","starred_url":"https://api.github.com/users/wbittremieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wbittremieux/subscriptions","organizations_url":"https://api.github.com/users/wbittremieux/orgs","repos_url":"https://api.github.com/users/wbittremieux/repos","events_url":"https://api.github.com/users/wbittremieux/events{/privacy}","received_events_url":"https://api.github.com/users/wbittremieux/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-23T11:36:45Z","updated_at":"2016-01-23T15:03:04Z","closed_at":"2016-01-23T15:03:04Z","body":"Whether or not I create an index using the angular distance or the Euclidean distance, the distances returned for the nearest neighbor search always seem to be Euclidean distances (`get_nns_by_vector(include_distances=True)`).\r\n\r\nI don't know what goes wrong because based on my cursory glance through the source this shouldn't be happening. I also don't know if it's only these distance calculations that are affected or if the whole index always uses the Euclidean distance instead of the angular distance."}}