protected void prepare(Mailbox mbx, ZimbraQueryResultsImpl res, MailboxIndex mbidx, int chunkSize) throws ServiceException, IOException
protected void prepare(Mailbox mbx, ZimbraQueryResultsImpl res, MailboxIndex mbidx, SearchParams params, int chunkSize) throws ServiceException, IOException
    protected void prepare(Mailbox mbx, ZimbraQueryResultsImpl res, MailboxIndex mbidx, int chunkSize) throws ServiceException, IOException    {        if (chunkSize > MAX_HITS_PER_CHUNK) {            chunkSize = MAX_HITS_PER_CHUNK;        }        mHitsPerChunk = chunkSize;        setupResults(mbx, res);        if (mLuceneOp != null) {            mHitsPerChunk *= 2; // enlarge chunk size b/c of join            mLuceneOp.setDBOperation(this);            mLuceneOp.prepare(mbx, res, mbidx, mHitsPerChunk);        }    }