if no document type is set then assume all types in the index is to be synced