Remove unused Lucene references including Query.UserIndex and associated methods