
SolrDocument::getChildDocuments 메서드는 자식 문서를 찾을 때 사용하는 메서드입니다. 이 메서드는 자식 문서를 찾기 위한 QueryBuilder를 반환합니다. QueryBuilder는 자식 문서를 찾기 위한 쿼리를 빌드하는 데 사용됩니다.
이 메서드의 반환 값은 QueryBuilder 타입입니다. 이 QueryBuilder를 사용하여 자식 문서를 찾기 위한 쿼리를 빌드할 수 있습니다.
예를 들어, 다음과 같이 사용할 수 있습니다.
#hostingforum.kr
php
$childQueryBuilder = $solrDocument->getChildDocuments();
$childQuery = $childQueryBuilder->toQuery();
이러한 QueryBuilder를 사용하여 자식 문서를 찾기 위한 쿼리를 빌드할 수 있습니다.
2025-05-03 07:58