yuuvis® RAD Q&A

+1 vote
by (2.9k points)
retagged by

Hello,

when we delete a "folder type" in our schema, before deleting all the objects of this "folder typ", then we can't delete the objects afterwards via the client. The client tells us the object was already deleted...(Screenshot: http://prntscr.com/kcqadb)

We already deleted browser cache, and restarted all services.

Is this possible via an elasticsearch query (elasticsearch-head)?

1 Answer

0 votes
by (2.9k points)
 
Best answer

Thorsten Präßler gave us a call.
1. Shutdown elasticsearch service
2. Delete C:\enaio\Elasticsearch-Data\nodes
3. Rerun elasticsearch call
4. Reindex via operation in enterprise-manager or via index swagger ui (/api/reindexTypeResources)

by (430 points)
edited by
It could make sense not to delete everything of ES:
With the ES service running, open:
http://localhost:9200/_cat/indices?v
Log in and then write down the UUID of ".security-7" and save the corresponding directory to a safe place:
 "..elasticsearch7.17.13-data\nodes\0\indices\<UUID>

After step 2, restore the directory and only then carry out step 3

-> this ensures that you can log in to ES with your usual data
but saved searches are also gone.

Operation to perform reindex should be:
SELECT * from dms:sysobject
(everything)
...