removed unique/notunique and lucene version refactor