Search-95, updating solr features from the latest solr development branch

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129519 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Michael Suzuki
2016-08-16 12:35:01 +00:00
parent a73174a971
commit 54ace720da

View File

@@ -401,7 +401,11 @@ public class SolrQueryHTTPClient implements BeanFactoryAware, InitializingBean
url.append(httpClientAndBaseUrl.getSecond());
String languageUrlFragment = extractLanguageFragment(language);
url.append("/").append(languageUrlFragment);
if(!url.toString().endsWith("/"))
{
url.append("/");
}
url.append(languageUrlFragment);
// Send the query in JSON only
// url.append("?q=");