}
/**
<<<<<<< HEAD:test/org/opencms/search/solr/TestCmsSearchAdvancedFeatures.java
* Tests search category grouping.
*
* @throws Exception if the test fails
*/
public void testSearchCategories() throws Exception {
CmsObject cms = getCmsObject();
echo("Testing searching for categories");
=======
* Tests an issue where no results are found in folders that have names
* like /basisdienstleistungen_-_zka/.
*
* @throws Exception if the test fails
*/
public void testSearchIssueWithSpecialFoldernames() throws Exception {
CmsObject cms = getCmsObject();
echo("Testing search issue with special folder name");
String folderName = "/basisdienstleistungen_-_zka/";
cms.copyResource("/types/", folderName);
cms.unlockProject(cms.getRequestContext().getCurrentProject().getUuid());
OpenCms.getPublishManager().publishProject(cms);
OpenCms.getPublishManager().waitWhileRunning();
>>>>>>> 13f28f919642c2f48065eed8bf616cc1de40ff91:test/org/opencms/search/solr/TestSolrSearch.java
OpenCms.getSearchManager().getSearchIndexes();
CmsSolrIndex index = OpenCms.getSearchManager().getIndexSolr(AllSolrTests.SOLR_OFFLINE); |