fix to issue with SDK and lucene