i'm taking a guess here that you're seeing an error about performance possibly being impacted due to the number of jobs in your dispatch directory. if that's the case and what you're asking is to make the error go away, you can change the value of dispatch_dir_warning_size in $SPLUNK_HOME/etc/system/local/limits.conf to something higher.
if that's not it, please be more specific about the 'index error' you're seeing.