AnsweredAssumed Answered

Query very slow (RepositoryServiceSoapBindingStub)

Question asked by lmoulin on Feb 5, 2008
Hello,
I have developed a Java program to perform searches.
I use the following code

RepositoryServiceSoapBindingStub repositoryService = WebServiceFactory.getRepositoryService();;         
Query query = new Query(Constants.QUERY_LANG_LUCENE,"+@\\{http\\://www.alfresco.org/model/content/1.0\\}created:[2008\\-01\\-05T10\\:53\\:00 TO 2008\\-02\\-05T10\\:53\\:00] AND (TYPE:\"{my.new.model}custom_root_type\")");
QueryResult queryResult = repositoryService.query(store.getStore(), query, true);
String querySession = queryResult.getQuerySession();

But the search is very slow with a great number of results.
Is it possible to speed up the execution of the query?
Perhaps, it is possible to not check the folder acl?
Thanks a lot
Luc

Outcomes