{"action":"created","issue":{"url":"https://api.github.com/repos/ankane/searchkick/issues/436","labels_url":"https://api.github.com/repos/ankane/searchkick/issues/436/labels{/name}","comments_url":"https://api.github.com/repos/ankane/searchkick/issues/436/comments","events_url":"https://api.github.com/repos/ankane/searchkick/issues/436/events","html_url":"https://github.com/ankane/searchkick/pull/436","id":72219698,"number":436,"title":"Add an option to enable transpositions in fuzzy search","user":{"login":"parkdy","id":4877189,"avatar_url":"https://avatars.githubusercontent.com/u/4877189?v=3","gravatar_id":"","url":"https://api.github.com/users/parkdy","html_url":"https://github.com/parkdy","followers_url":"https://api.github.com/users/parkdy/followers","following_url":"https://api.github.com/users/parkdy/following{/other_user}","gists_url":"https://api.github.com/users/parkdy/gists{/gist_id}","starred_url":"https://api.github.com/users/parkdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkdy/subscriptions","organizations_url":"https://api.github.com/users/parkdy/orgs","repos_url":"https://api.github.com/users/parkdy/repos","events_url":"https://api.github.com/users/parkdy/events{/privacy}","received_events_url":"https://api.github.com/users/parkdy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-30T16:54:00Z","updated_at":"2015-07-12T02:41:51Z","closed_at":"2015-07-12T02:41:51Z","pull_request":{"url":"https://api.github.com/repos/ankane/searchkick/pulls/436","html_url":"https://github.com/ankane/searchkick/pull/436","diff_url":"https://github.com/ankane/searchkick/pull/436.diff","patch_url":"https://github.com/ankane/searchkick/pull/436.patch"},"body":"This change allows transpositions (switching two characters) to be counted as a single operation when calculating the edit distance. For example:\r\n\r\nUser.search(''Jonh\", { misspellings: { edit_distance: 1, transpositions: true } })\r\n\r\nwould return \"John\" as a match."},"comment":{"url":"https://api.github.com/repos/ankane/searchkick/issues/comments/120681061","html_url":"https://github.com/ankane/searchkick/pull/436#issuecomment-120681061","issue_url":"https://api.github.com/repos/ankane/searchkick/issues/436","id":120681061,"user":{"login":"ankane","id":220358,"avatar_url":"https://avatars.githubusercontent.com/u/220358?v=3","gravatar_id":"","url":"https://api.github.com/users/ankane","html_url":"https://github.com/ankane","followers_url":"https://api.github.com/users/ankane/followers","following_url":"https://api.github.com/users/ankane/following{/other_user}","gists_url":"https://api.github.com/users/ankane/gists{/gist_id}","starred_url":"https://api.github.com/users/ankane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankane/subscriptions","organizations_url":"https://api.github.com/users/ankane/orgs","repos_url":"https://api.github.com/users/ankane/repos","events_url":"https://api.github.com/users/ankane/events{/privacy}","received_events_url":"https://api.github.com/users/ankane/received_events","type":"User","site_admin":false},"created_at":"2015-07-12T02:41:51Z","updated_at":"2015-07-12T02:41:51Z","body":"Hi David, thanks for the pull request!  Bad news: I didn't see this one until now (sorry!).  Good news: this feature is now available on the master branch."}}