Open kevinfodness opened 9 months ago
Additional notes/ideas:
index
command, automatically --put-mapping
if --flush
is included. I don't think there's a circumstance where we'd want to flush without adding the mapping, so that begs for trouble. Alternatively, we could include an option to --skip-mapping
if there was a reason (I don't think it's necessary; decisions over options)
Description
Anecdotally, we've had some trouble running the index command on Pantheon via Terminus when using Elastic Cloud on 8.x. Symptoms include:
We need to audit the CLI script for indexing, including the options for flushing and putting the mapping, to make it more reliable.
Use Case
As a developer, I want to be able to reindex a site using the CLI including flushing the old index and putting the mapping without encountering errors.