2.0 migrate legacy lucene log

This also fixes the build issue on Windows.
Missing Javadoc description of what this is about