Simplify add solr doc, and added delete by id.