Term vector of all documents

Thanks!
Yes, I tried the multi-termvector approach, but still I have to provide the list of document IDs which is huge, in the order of hundreds of millions.