Make it lucene dependent