Dear Tony,
Thanks for the query! There are two changes that should get you what you want. First, it should be `subject:` not `subject=`, though I’m not sure what difference that will make.
Second, you want to filter by `doc_type:full`, because we index sub-documents.
Third, you want to filter by journal. There are a number of ways to do this, but `journal_id_pmc:plosone` is a good one.
So here is your final query:
curl "
http://api.plos.org/search?q=subject:%22Veterinary%20science/%22+and+doc_type:full+and+journal_id_pmc:plosone&fl=id&start=1&rows=0"
which returns 997 entries.
Please let us know any other questions you have!
best, Erik
> --
> You received this message because you are subscribed to the Google Groups "PLOS API Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
>
plos-api-develo...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/plos-api-developers/22ace74c-5777-4e59-9907-b0cf843082d5%40googlegroups.com.
🐝 PLOS | OPEN FOR DISCOVERY
🐘 Erik Hetzner | Software Developer | he, him
📮 1160 Battery Street, Suite 225, San Francisco, CA 94111
📞 Main
+1 415 624 1200