PHP 8.4.2 Released!

SolrCollapseFunction::setHint

(PECL solr >= 2.2.0)

SolrCollapseFunction::setHintSets collapse hint

Description

public SolrCollapseFunction::setHint(string $hint): SolrCollapseFunction

Sets collapse hint

Parameters

hint

Currently there is only one hint available "top_fc", which stands for top level FieldCache

Return Values

SolrCollapseFunction

Examples

Example #1 SolrCollapseFunction::setHint() example

<?php

/* ... */

?>

The above example will output something similar to:

...
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top