Hi there, I'm working on a query that only needs to get the id's of the results. I'm doing this with a scan/scroll search, however, the size of the fetch time for the results is too big for a realtime application (over 30 millions documents). I need to get only the id's, setting setNoFields() doesn't avoid the fetch time so I'm considering implementing a plugin for extending elasticsearch and avoid the fetch phase, but I don't know where to start or if this is even posible.
Any help is welcome, thanks!