you can't search without a selector - this should just basically do an allDocs. there's no reason to throw an error