07-24-2007 07:10 AM
SearchService searchService = serviceRegistry.getSearchService();
StoreRef storeRef = new StoreRef(StoreRef.PROTOCOL_WORKSPACE, "SpacesStore");
SearchParameters sp = new SearchParameters();
sp.addStore(storeRef);
sp.setLanguage(SearchService.LANGUAGE_LUCENE);
sp.setQuery("TYPE:\"" + type + "\"");
sp.setLimitBy(LimitBy.UN*LIMI*TED); // the *-signs are a workaround for the spam filter
results = searchService.query(sp);
07-24-2007 09:18 PM
# The maximum time spent pruning results
system.acl.maxPermissionCheckTimeMillis=10000
# The maximum number of results to perform permission checks against
system.acl.maxPermissionChecks=1000
You're hitting another limit here. The properties above control how many permission checks get performed and how long permission checks should go on for a given set of search results. As the permission checking of potentially large search results is an intesive process, the system admin can limit this in order to control resources and prevent individual users from generating queries that consume too much of the system's CPU resource. This is particularly an issue with single CPU machines.Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.