Thanks for the reply, Pierre. Guessed so.
I can filter later, but if I am calling 10000 efetch docs, for example, the responses start becoming rather data-heavy and crashes the browser. Also, the initial time taken to get the response for retmax=10000 for example, is pretty slow if it returns all the fields like it does now.
Trying to find the best way to get data for all the articles related to a search term as quickly as possible. With the fact now that I cannot choose elements to return, and the limitation of upto 10 API calls a second and with each call taking 30-90 seconds to return(retmax 10000), doesnt seem like there is a solution unless I am missing something really obvious.
I don't think you can do that. API is designed to retrieve a minimum set of elements. You will have to post filter.
Do you mean filtering after getting the responses, or is it an option in the API?