Hi @Nagar, Sunil
Thanks for reaching out to Microsoft Q&A. I understand you are evaluating the Azure AI Search capabilities, and for such there isn't really a "number of keywords" limit, but instead, what Azure AI Search actually caps is the number of search clauses (terms/expressions joined by AND/OR) in a single search query, plus a few related size limits on the query and on individual terms.
Based on the Service limits in Azure AI Search documentation, the current limits for the Query APIs are:
- Maximum number of clauses in a
search query: 3,000
- Maximum length of a single search clause: 100,000 characters
- Maximum search term size: 32,766 bytes (32 KB minus 2 bytes) of UTF-8 encoded text for keyword search and vector-search text
- Maximum search term size for prefix search or regex search: 1,000 characters
- Overall request payload: up to 16 MB for POST requests; GET requests are limited to an 8‑KB URL
One thing worth flagging: the Simple query syntax doc page lists the max clause count as 1,024 rather than 3,000. I'd treat the dedicated Service limits page as the current source of truth for capacity planning, since it's the article Microsoft maintains specifically for these numbers. Still, if you're building a query composer that could realistically approach these limits, it's worth designing it so it can't generate an unbounded number of clauses in the first place, since both pages call out that unbounded queries can destabilize the search service.
Please 'Upvote ' (thumbs-up) and 'Accept' as an answer. This will be helpful to other community members facing the same issue.
Best regards,
Andrew S Taylor