Can _termvectors data be retrieved via a _search?

I would like to retrieve some _source data and some _termvectors data via a single scrolling query.

Right now, it seems my only option is to run the query, and then make many _termvectors calls with the returned doc IDs to get everything I need.

Is a single query like this possible? I would be happy to write a plugin to facilitate this if someone could point me at the right integration points to make it happen.

Thanks!

1 Like