Defining your search criteria
You define a query's search criteria. As the query runs, HCL Compass compares your criteria to the fields of each record in the database. Each time a record in the database matches your criteria, HCL Compass returns the record in the ResultSet object.
For examples of building a query with the API, see "Building queries for defects and users".