XWIKI-10226: SOLR REST API when using embedded SOLR
* take into account configured available locales