Right, but also if it's not on local filesystem, we probably don't know where it is either since the configuration for the index would be gone
Hmm, I was kind of expecting to basically take the configuration of an existing index manager and just change the name. This assumes of course that all index managers are configured the same which might not be the same. The exact settings would probably irrelevant here. Just the information to "find" the index would be required. OOI, how would you go about this in an Infinispan directory case? Is there anything equivalent to to the file system based rm?
So, yeah, I was talking about the situation where an index contains entities that became unmanaged after a refactoring. Of course, you can always manually delete file from the filesystem, but I was looking for a programmatic way.
In this case rm might indeed be the best option. There is probably no easy generic solution in this case.
Should we close this issue in this case?
|