code: public function findLocations(Query $query, array $languageSettings = array())
      {
          $parameters = $this->locationQueryConverter->convert($query);
  
          return $this->internalFind($parameters, $languageSettings);
      }
docs: Returns search hits for the given query.
  
  @param \eZ\Publish\API\Repository\Values\Content\Query $query
  @param array $languageSettings - a map of filters for the returned fields.
  Currently supported: <code>array("languages" => array(<language1>,..))</code>.
  
  @return mixed