Figured out to read beans from the configuration file.
Add the dependency of solr-solrj.
Add the repository and dependency of the d1_cn_index_processor.
add the metacat-index component. It has nothing right now.