Explain it simpler
A search request is like a detailed order at a deli. The 'search' part is what you are looking for, in plain words. A filter is a strict rule, like 'only items under ten dollars'. Facets are the counts shown in a sidebar, like 'Remote (42)'. Sorting decides the order, such as newest first. Paging decides which slice of results you see, like items 21 to 30. There are two ways to write the search words: a simple style for everyday use, and a full style that adds tricks, such as finding words with small spelling mistakes. Filters use their own small language with words like 'eq' for equals.
Lena maintains the job board for Cascade Careers, and a recruiter has filed three tickets before lunch. Searching 'enginer' with a typo returns nothing. A filter written by a new developer as salary >= 50000 && remote == true throws a syntax error. And page three of the results shows the same jobs as page two. Each bug lives in a different part of the same search request. Lena opens the query in Search explorer and stares at the JSON body: search text, a filter, facets, ordering, paging. Which parameter is wrong in each case, and which parser does the typo search need?
Queries are sent to an index's docs/search endpoint, either as a POST with a JSON body or as a GET with a query string, or through the SDK's search method on a SearchClient. A client app should authenticate with a query key, which allows read-only access, or with Microsoft Entra ID. A query combines several parts, each with its own syntax, and the AI-102 exam often shows a query and asks what it returns or how to fix it. Learning to read each part separately makes these questions much easier.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 7 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.