Undo the change that made setMaxBufferedDocs(1) work because it had negative effects on indexing performance. Instead throw an exception if setMaxBufferedDocs(1) is called.