Closed adlindenberg closed 2 months ago
Hello, did you change any of the indices' names (defined in <DocumentClass>.Index.name
) after creating them?
It seems one of the names is an alias and not the name used when creating the associated index.
Can you run the following in a python3 manage.py shell
and share the output of the prints :
from opensearchpy.connection.connections import connections
print(connections.get_connection().cat.indices())
print(connections.get_connection().cat.aliases())
as well as the output of python3 manage.py opensearch list
I probably posted too soon and I apologize for that. I didn't change the name of that index but I was getting spun up with Opensearch and messing with the indices a lot at the time so I likely did something wrong.
I deleted them via the OS dashboard using dev tools. I've since recreated them and deleted with the mgmt command, no problem. Apologies for the false alarm, I truly wonder what went wrong there but all seems fine now. Thank you for your time, closing this issue!
Hi there.
Am I missing something? I'm running
./manage.py opensearch index delete
and accept all indices that it lists to deleteThen I'm immediately hit with
The provided expression [index_name] matches an alias, specify the corresponding concrete indices instead
. Why? What can I do about this? Seems I'm completely unable to delete an index with the management command?