Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
3.5
-
None
-
None
-
None
Description
If your cores share an instanceDir but dataDir is not explicitly defined in solr.xml, apparently dataDir is not "./data" as it would be when instanceDir is not shared, it becomes (or includes) the name of the core as well. This results in problems problems with RENAME, and probably SWAP as well.
The RENAME will work, with the dataDir still retaining the old name. When you restart Solr, however, the core will use the new name for the dataDir and create an empty index, ignoring the old one. Based on this behavior, I believe that if you did a SWAP, after reload the cores would no longer be swapped.