mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
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:
@@ -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=");
|
||||
|
Reference in New Issue
Block a user