add solrconfig.xml
change function defines