Pre-filtering for _termvectors API to get statistics on a subset of documents

Is there a way to pre-filter documents for the _termvector API to get statistics limited to a subset of the documents in an index?

I would like to use the term vector API to look at tf/idf, etc. for items in my index, but I would like to be able to limit the scope by a field value ('userId'). The results I get from my _termvector query appears to include all items in my index.

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