initial jira patch for the solr appender
refactor patch