Remove lucene hooks and dependency from Oak.