
SolrQuery::removeFacetDateOther 메서드는 facet date 필드의 "other" 값을 제거하는 데 사용됩니다. 이 메서드는 FacetDateOtherParams 클래스의 removeOther 파라미터를 설정하는 데 사용됩니다.
#hostingforum.kr
php
$query = new SolrQuery();
$query->addFacetDate('my_date_field', 'year', true);
$query->getFacetParams()->getFacetDateOtherParams()->removeOther(true);
이 메서드는 FacetDateOtherParams 클래스의 removeOther 파라미터를 true로 설정하여 facet date 필드의 "other" 값을 제거합니다.
이 메서드는 facet date 필드의 "other" 값을 제거한 후의 facet 결과를 반환합니다.
2025-07-02 06:04