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.
s.setLimitBy(LimitBy.FINAL_SIZE);//Limitar s.setLimit(1000);
I tried changing these parameters in the repository.properties file # The maximum time spent pruning results system.acl.maxPermissionCheckTimeMillis=1000 # The maximum number of results to perform permission checks against system.acl.maxPermissionChecks=100
repoWs.query(alfSession.getDefaultStore(), query, true);
// establecemos el tamaño del fetchSize en el elemento Query Header int Tamanno = 10; QueryConfiguration queryCfg = new QueryConfiguration(); queryCfg.setFetchSize(Tamanno); //Insertamos Query Header en cabecera SOAP RepositoryServiceSoapBindingStub repositoryService = WebServiceFactory.getRepositoryService(); repositoryService.setHeader(new RepositoryServiceLocator(). GetServiceName(). getNamespaceURI(), "QueryHeader", queryCfg); //recogemos los primeros resultados QueryResult resultado = repositoryService.query(STORE, getQuery(sConsulta), true); //procesamos el primer resultado String querySession = resultado.getQuerySession(); while (querySession != null) { // recogemos los siguientes conjunto de resultados resultado = repositoryService.fetchMore(querySession); // procesamos los siguientes conjuntos de resultados. querySession = resultado.getQuerySession(); }
@cm\:creator:"admin"
QueryResult resultado = repositoryService.query(STORE, getQuery(sConsulta), true);