[jira] [Created] (JAMES-4202) mailbox/opensearch search with numerous UID terms fails

"Benoit Tellier (Jira)" <[email protected]> Thu, 23 Apr 2026 05:51:00 +0000 (UTC)
Newsgroups gmane.comp.jakarta.james.devel
Message-ID <[email protected]>
Benoit Tellier created JAMES-4202:
-------------------------------------

             Summary: mailbox/opensearch search with numerous UID terms fails
                 Key: JAMES-4202
                 URL: https://issues.apache.org/jira/browse/JAMES-4202
             Project: James Server
          Issue Type: Improvement
          Components: IMAPServer, opensearch
            Reporter: Benoit Tellier


Spotted for emClient

This clent does search with 1000+ terms making OpenSearch to break, those terms are single UIDs.

Idea is to modify OR clause handling in order to collapse those into a single Terms query.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)