Adds id_only to query
Merge pull request #326 from lukecampbell/discovery

Adds id_only to query