This document discusses various ways to perform search queries in SharePoint, including through the Client-Side Object Model (CSOM), JavaScript Object Model (JSOM), and REST APIs. It provides code examples for making search queries using jQuery AJAX calls to the REST API. The benefits of using CSOM like batching queries are described, as are techniques for working with refiners, result blocks, and anonymous users with the REST API.