Mapper Attachment Plugin - searching large attachments

Is it possible to query attachment content using the Mapper Attachments Plugin and just get back a list of IDs? I don't need to get the content back and I would like to not have to worry about memory issue for large attachments.

Just ask for an empty list for fields.

GET /_search
{
    "stored_fields" : [ ]
}

This should work.

Before 5.0:

GET /_search
{
    "fields" : [ ]
}

Awesome! Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.