Fixed EZP-19993: indexing errors with attribute boosting using solr 3.6 (extended version from pull request, covering multicore examples as well)
(cherry picked from commit f711ca833998f35cf3bd09ee62846e3d201f13e3)