Fixes https://github.com/payloadcms/payload/issues/9770 If you had a published document but then created a new draft it would delete the search doc, this PR adds an additional find to check if an existing published doc exists before deleting the search doc. Also adds a few jsdocs to plugin config