Write console result of LuceneSample.java execution.