As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<project id=""> <properity1 /> <properity2 /> … .. </project>
String xmlTag="<"+searchIn+">"+searchFor; SearchParameters sp=new SearchParameters(); sp.addStore( new StoreRef(StoreRef.PROTOCOL_WORKSPACE,"SpacesStore")); sp.setLanguage(SearchService.LANGUAGE_LUCENE); sp.setQuery("PATH:\"" + "/app:company_home/cm:MyProject/cm:Projects/cm:Proposed/cm:SubmittedProject" + "//*\" AND TYPE:\"" + ContentModel.TYPE_CONTENT + "\" AND TEXT:\"" + xmlTag + "\""); ResultSet resultSet = getSearchService().query(sp);