Hello all,I use alfresco as portlet in Liferay. I have a single-sign-on soultion for this and display only the space that belongs to the community in Liferay.Therefore I set the currentNodeId in NavigationBean to the value of the corresponding space. To get the nodeID I have to get the space. To get this I use the "SearchService"
StoreRef storeRef = new StoreRef(StoreRef.PROTOCOL_WORKSPACE,
"SpacesStore");
ResultSet resultSet = searchService.query(storeRef,
SearchService.LANGUAGE_LUCENE, "PATH:\"/app:company_home\"");
StoreRef companyHome = resultSet.getNodeRef(0).getStoreRef();
resultSet = searchService.query(companyHome,
SearchService.LANGUAGE_LUCENE, "@cm\\:name:\"" + groupName + "\"");
groupname is retrieved from Liferay. The "funny" thing is that the result of the search depends on the user language of the current user, and the language of the user which created the space.Does anyone know a way to search independant from the language?Many thanks in advance…