{"action":"created","issue":{"url":"https://api.github.com/repos/datadesk/python-documentcloud/issues/109","labels_url":"https://api.github.com/repos/datadesk/python-documentcloud/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/datadesk/python-documentcloud/issues/109/comments","events_url":"https://api.github.com/repos/datadesk/python-documentcloud/issues/109/events","html_url":"https://github.com/datadesk/python-documentcloud/issues/109","id":117446564,"number":109,"title":"Support search.json 'data' parameter in search method","user":{"login":"jywsn","id":1178533,"avatar_url":"https://avatars.githubusercontent.com/u/1178533?v=3","gravatar_id":"","url":"https://api.github.com/users/jywsn","html_url":"https://github.com/jywsn","followers_url":"https://api.github.com/users/jywsn/followers","following_url":"https://api.github.com/users/jywsn/following{/other_user}","gists_url":"https://api.github.com/users/jywsn/gists{/gist_id}","starred_url":"https://api.github.com/users/jywsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jywsn/subscriptions","organizations_url":"https://api.github.com/users/jywsn/orgs","repos_url":"https://api.github.com/users/jywsn/repos","events_url":"https://api.github.com/users/jywsn/events{/privacy}","received_events_url":"https://api.github.com/users/jywsn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-17T20:47:19Z","updated_at":"2015-11-22T01:43:40Z","closed_at":"2015-11-22T01:43:40Z","body":"Related to #107 \r\n\r\nIt would be great if the search method supported the `data` parameter.  We have a use case in which we are always accessing the key/value data for the documents in our search results.  We have over 60K+ documents, so this results in a lot of calls to `_lazy_load` the metadata.  \r\n\r\nIt absolutely makes sense for \"no data\" to be the default (as it is in the JSON API), but being able to set `data=true` would save us a lot of extra network calls."},"comment":{"url":"https://api.github.com/repos/datadesk/python-documentcloud/issues/comments/158699203","html_url":"https://github.com/datadesk/python-documentcloud/issues/109#issuecomment-158699203","issue_url":"https://api.github.com/repos/datadesk/python-documentcloud/issues/109","id":158699203,"user":{"login":"palewire","id":9993,"avatar_url":"https://avatars.githubusercontent.com/u/9993?v=3","gravatar_id":"","url":"https://api.github.com/users/palewire","html_url":"https://github.com/palewire","followers_url":"https://api.github.com/users/palewire/followers","following_url":"https://api.github.com/users/palewire/following{/other_user}","gists_url":"https://api.github.com/users/palewire/gists{/gist_id}","starred_url":"https://api.github.com/users/palewire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palewire/subscriptions","organizations_url":"https://api.github.com/users/palewire/orgs","repos_url":"https://api.github.com/users/palewire/repos","events_url":"https://api.github.com/users/palewire/events{/privacy}","received_events_url":"https://api.github.com/users/palewire/received_events","type":"User","site_admin":false},"created_at":"2015-11-22T01:43:39Z","updated_at":"2015-11-22T01:43:39Z","body":"I believe these changes are now in the master trunk and set for the next release. [Docs](http://python-documentcloud.readthedocs.org/en/latest/documents.html#client.documents.search)"}}