{"action":"created","issue":{"url":"https://api.github.com/repos/olivere/elastic/issues/42","labels_url":"https://api.github.com/repos/olivere/elastic/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/olivere/elastic/issues/42/comments","events_url":"https://api.github.com/repos/olivere/elastic/issues/42/events","html_url":"https://github.com/olivere/elastic/pull/42","id":58389737,"number":42,"title":"enable user to set UseNumber option during decoding the search result","user":{"login":"jiangjin","id":518516,"avatar_url":"https://avatars.githubusercontent.com/u/518516?v=3","gravatar_id":"","url":"https://api.github.com/users/jiangjin","html_url":"https://github.com/jiangjin","followers_url":"https://api.github.com/users/jiangjin/followers","following_url":"https://api.github.com/users/jiangjin/following{/other_user}","gists_url":"https://api.github.com/users/jiangjin/gists{/gist_id}","starred_url":"https://api.github.com/users/jiangjin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiangjin/subscriptions","organizations_url":"https://api.github.com/users/jiangjin/orgs","repos_url":"https://api.github.com/users/jiangjin/repos","events_url":"https://api.github.com/users/jiangjin/events{/privacy}","received_events_url":"https://api.github.com/users/jiangjin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-20T18:13:19Z","updated_at":"2015-02-24T17:06:48Z","closed_at":"2015-02-21T06:07:48Z","pull_request":{"url":"https://api.github.com/repos/olivere/elastic/pulls/42","html_url":"https://github.com/olivere/elastic/pull/42","diff_url":"https://github.com/olivere/elastic/pull/42.diff","patch_url":"https://github.com/olivere/elastic/pull/42.patch"},"body":"First, `elastic` lib looks quite advanced, we'd like to use it. Thanks a lot! @olivere \r\n\r\nBut when we try to use it, find a problem during decoding the json result from elasticsearch, usually for the \"_timestamp\" (for example: \"_timestamp\": 144654564565). We suggest to use decode.UseNumber() option, so we try to add this `useNumber` toggle to enable the lib user to choose this option."},"comment":{"url":"https://api.github.com/repos/olivere/elastic/issues/comments/75798067","html_url":"https://github.com/olivere/elastic/pull/42#issuecomment-75798067","issue_url":"https://api.github.com/repos/olivere/elastic/issues/42","id":75798067,"user":{"login":"olivere","id":134848,"avatar_url":"https://avatars.githubusercontent.com/u/134848?v=3","gravatar_id":"","url":"https://api.github.com/users/olivere","html_url":"https://github.com/olivere","followers_url":"https://api.github.com/users/olivere/followers","following_url":"https://api.github.com/users/olivere/following{/other_user}","gists_url":"https://api.github.com/users/olivere/gists{/gist_id}","starred_url":"https://api.github.com/users/olivere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivere/subscriptions","organizations_url":"https://api.github.com/users/olivere/orgs","repos_url":"https://api.github.com/users/olivere/repos","events_url":"https://api.github.com/users/olivere/events{/privacy}","received_events_url":"https://api.github.com/users/olivere/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T17:06:48Z","updated_at":"2015-02-24T17:06:48Z","body":"Oh, okay. Thanks for testing those edge cases.\r\n\r\nCan you create a client with specifying host and port manually, like `NewClient(http.DefaultClient, \"http://<ipaddr>:<port>\")` where `<ipaddr>` and `<port>` are the IP address and port number of ES (inside the container)?\r\n\r\nOtherwise: Can you please send me the output from `curl -XGET <esserver>/_nodes/http?pretty=1`, from inside your container please?\r\n\r\nThank you.\r\n"}}