Here we will show you how you can query documents by a specific fields
<?phpuseComfortable\Filter;$results = $api->getDocuments()->filter( (newFilter)->addAnd('title','like','%Football%')->addOr('title','like','%Soccer%'))->execute();// $results will hold all documents which contains "Football" or "Soccer" in it its title field