Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

* Search

Dear all,

My KM search application is not working for a seach with *. But with keywords it is working fine. Please tell me what I am missing in this for a * search.

			IWDClientUser wdUser = WDClientUser.getCurrentUser(); user = UMFactory.getUserFactory().getUserByLogonID("cmadmin_service");//wdUser.getSAPUser(); iuser = WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service");
			 IResourceContext irCtx = new ResourceContext(iuser);

		IIndexService indexService = (IIndexService) ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.INDEX_SERVICE);
//		   Build Query Object
		SearchQueryListBuilder sqb = new SearchQueryListBuilder();
		IQueryEntryList qel = sqb.buildSearchQueryList();

		IFederatedSearch federatedSearch = (IFederatedSearch) indexService.getObjectInstance(IWcmIndexConst.FEDERATED_SEARCH_INSTANCE);
		List indexList = new ArrayList();

		ISearchSession session = null;
		if(session == null)
		session = federatedSearch.searchWithSession(qel,indexList,irCtx);



Former Member
Not what you were looking for? View more on this topic or Ask a question