don't user worker processes when indexing a single document
don't package a single document as an array