I'm trying the following search:
Code:
SearchOptions arg=new SearchOptions();
		
			
			arg.setQuery("(mail=*@mydomain)");
But the following error appears:

com.zimbra.common.soap.SoapFaultException: number of results exceeded the limit: too many search results returned
ExceptionId:btpool0-9568://10.0.22.2:7071/service/admin/soap/SearchDirectoryRequest:1355765051004:f511deac0d71f b27
Code:account.TOO_MANY_SEARCH_RESULTS
at com.zimbra.common.soap.Soap12Protocol.soapFault(So ap12Protocol.java:88)
at com.zimbra.common.soap.SoapTransport.extractBodyEl ement(SoapTransport.java:354)
at com.zimbra.common.soap.SoapTransport.parseSoapResp onse(SoapTransport.java:313)
at com.zimbra.common.soap.SoapHttpTransport.invoke(So apHttpTransport.java:260)
at com.zimbra.common.soap.SoapHttpTransport.invoke(So apHttpTransport.java:164)
at com.zimbra.common.soap.SoapTransport.invoke(SoapTr ansport.java:407)
at com.zimbra.common.soap.SoapTransport.invokeWithout Session(SoapTransport.java:393)mensagem excecao: number of results exceeded the limit: too many search results returned

at com.zimbra.cs.account.soap.SoapProvisioning.invoke Request(SoapProvisioning.java:342)
at com.zimbra.cs.account.soap.SoapProvisioning.invoke (SoapProvisioning.java:350)
at com.zimbra.cs.account.soap.SoapProvisioning.search Directory(SoapProvisioning.java:1590)
at br.usp.cce.zimbra.ClienteSoapSearchAllPersonPorDom inioProd.getInfoConta(ClienteSoapSearchAllPersonPo rDominioProd.java:81)
at br.usp.cce.zimbra.ClienteSoapSearchAllPersonPorDom inioProd.main(ClienteSoapSearchAllPersonPorDominio Prod.java:25)