Searching the content in the Repository is one of the major benefits of using Alfresco Content Services. It is possible to search both in the text content of files and in the metadata for folders and files.
You can search the Repository in two different ways. The first approach is easy and requires only a GET call with the term that you want to search for in the text content or metadata. This call searches the whole repository and every type of file that can be transformed to text. The second approach is a POST call with the search query that you want to use. It’s more powerful and allows you to do a more specific search, such as where in the Repository to search and in what type of files to search.
This section also goes through how to specifically search for sites and people.