On 11/20/2017 6:26 AM, Amanda Shuman wrote: > I did as you suggested and created the core by hand - I copied the files > from the existing core, including the index files (data directory) and > changed the core.properties file to the new core name (core_new) and > restarted. Now I'm having a different issue - it says it is Optimized but > that Current is not (the console shows the red prohibited sign, which I > guess means false or something?). So basically there's no content at all in > there. Re-reading your instructions here: " If you want to relocate the > data, you can add a dataDir property to core.properties. If it has a > relative path, it is relative to the core.properties location." - Did I > miss a step to get the existing index to load?
If data/index is in your core's directory and actually contains a complete index, then Solr will load that index for that core on startup. If the way you handle commits is insufficient, then there is a possibility that the most recent updates to the source index are sitting in memory and haven't been written to the on-disk index, but it seems unlikely that this would result in a completely empty index. Thanks, Shawn