RAMDirectory directory = createTestIndex(Field.TermVector.YES, new RAMDirectory(), true, 0);
//get real vectors
createTestIndex(Field.TermVector.NO, directory, false, 5);
IndexReader reader = DirectoryReader.open(directory);
Weight weight = new TFIDF();
TermInfo termInfo = new CachedTermInfo(reader, "content", 1, 100);
boolean exceptionThrown;
//0 percent tolerance
LuceneIterable iterable = new LuceneIterable(reader, "id", "content", termInfo,weight);