Code example for SearchControls

Methods: setTimeLimit

     * The time to wait before the search fails; the default is zero, meaning forever. 
     * @param searchTimeLimit the time limit for the search (in milliseconds). 
    public void setSearchTimeLimit(int searchTimeLimit) {
     * Specifies the attributes that will be returned as part of the search. 
     * null indicates that all attributes will be returned. 
     * An empty array indicates no attributes are returned. 
     * @param attrs An array of attribute names identifying the attributes that 
     *             will be returned. Can be null. 
    public void setReturningAttributes(String[] attrs) {