improve add_docs in solr.rb
Merge branch 'master' of github.com:jinwen/ninja