downgrade to Lucene 4.8.1 cause later versions have a bug where method deleteDocuments does not work on class IndexWriter - file bug submission with Apache Lucene