PHP 8.1.0 RC 4 available for testing

SolrCollapseFunction::setHint

(PECL solr >= 2.2.0)

SolrCollapseFunction::setHintSets collapse hint

Descrição

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

Sets collapse hint

Parâmetros

hint

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

Valor Retornado

SolrCollapseFunction

Exemplos

Exemplo #1 SolrCollapseFunction::setHint() example

<?php

/* ... */

?>

O exemplo acima irá imprimir algo similar à:

...
add a note add a note

User Contributed Notes

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