Fixed querying issue and buffer concatenation in solr client