add lucene and solr ignore pattern